Skip to content

adapt to destroying pg for gc - #324

Merged
JacksonYao287 merged 2 commits into
eBay:mainfrom
JacksonYao287:gc-destroy-pg
Jul 17, 2025
Merged

adapt to destroying pg for gc#324
JacksonYao287 merged 2 commits into
eBay:mainfrom
JacksonYao287:gc-destroy-pg

Conversation

@JacksonYao287

@JacksonYao287 JacksonYao287 commented Jul 8, 2025

Copy link
Copy Markdown
Member

adapt to destroy pg for gc. after the pr is merged, there is not feature gap for gc, so enable gc by default

@codecov-commenter

codecov-commenter commented Jul 8, 2025

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 53.33333% with 21 lines in your changes missing coverage. Please review.

Project coverage is 62.17%. Comparing base (1746bcc) to head (424b05c).
Report is 109 commits behind head on main.

Files with missing lines Patch % Lines
src/lib/homestore_backend/gc_manager.cpp 52.77% 13 Missing and 4 partials ⚠️
src/lib/homestore_backend/hs_pg_manager.cpp 62.50% 2 Missing and 1 partial ⚠️
src/lib/homestore_backend/heap_chunk_selector.cpp 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
- Coverage   63.15%   62.17%   -0.99%     
==========================================
  Files          32       35       +3     
  Lines        1900     4148    +2248     
  Branches      204      508     +304     
==========================================
+ Hits         1200     2579    +1379     
- Misses        600     1293     +693     
- Partials      100      276     +176     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JacksonYao287
JacksonYao287 force-pushed the gc-destroy-pg branch 2 times, most recently from 0928734 to cc2f56a Compare July 9, 2025 09:44
@JacksonYao287 JacksonYao287 changed the title Gc destroy pg adopt to destroying pg for gc Jul 9, 2025
@JacksonYao287 JacksonYao287 changed the title adopt to destroying pg for gc adapt to destroying pg for gc Jul 11, 2025
LOGD("fetch data with blob_id={}, shard=0x{:x}", blob_id, shard_id);
// we first try to read data according to the local_blk_id to see if it matches the blob_id
return std::move(homestore::data_service().async_read(local_blk_id, given_buffer, total_size))
.via(folly::getGlobalIOExecutor())

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacksonYao287
JacksonYao287 merged commit dee044c into eBay:main Jul 17, 2025
25 checks passed
@JacksonYao287
JacksonYao287 deleted the gc-destroy-pg branch July 17, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants