Skip to content

Cleanup the segment metadata reading logic in SegmentPreProcessor#15746

Merged
Jackie-Jiang merged 1 commit intoapache:masterfrom
Jackie-Jiang:cleanup_metadata_load_preprocessor
May 9, 2025
Merged

Cleanup the segment metadata reading logic in SegmentPreProcessor#15746
Jackie-Jiang merged 1 commit intoapache:masterfrom
Jackie-Jiang:cleanup_metadata_load_preprocessor

Conversation

@Jackie-Jiang
Copy link
Copy Markdown
Contributor

  • Always use the one from SegmentDirectory to avoid bugs introduced by inconsistent segment metadata
  • Reduce some unnecessary metadata load

@Jackie-Jiang Jackie-Jiang added the cleanup Code cleanup or removal of dead code label May 9, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 9, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 63.24%. Comparing base (1a476de) to head (699a41a).
Report is 52 commits behind head on master.

Files with missing lines Patch % Lines
...ocal/segment/index/loader/SegmentPreProcessor.java 87.50% 2 Missing and 5 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #15746      +/-   ##
============================================
+ Coverage     62.90%   63.24%   +0.33%     
- Complexity     1386     1388       +2     
============================================
  Files          2867     2887      +20     
  Lines        163354   165091    +1737     
  Branches      24952    25223     +271     
============================================
+ Hits         102755   104408    +1653     
+ Misses        52847    52814      -33     
- Partials       7752     7869     +117     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.22% <87.50%> (+0.35%) ⬆️
java-21 63.19% <87.50%> (+0.36%) ⬆️
skip-bytebuffers-false ?
skip-bytebuffers-true ?
temurin 63.24% <87.50%> (+0.33%) ⬆️
unittests 63.23% <87.50%> (+0.33%) ⬆️
unittests1 56.31% <30.35%> (+0.49%) ⬆️
unittests2 33.47% <87.50%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Jackie-Jiang Jackie-Jiang merged commit a25e9c4 into apache:master May 9, 2025
17 checks passed
@Jackie-Jiang Jackie-Jiang deleted the cleanup_metadata_load_preprocessor branch May 9, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code cleanup or removal of dead code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants