Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend CompactedPinotSegmentRecordReader so that it can skip deleteRecord #13352

Merged

Conversation

klsince
Copy link
Contributor

@klsince klsince commented Jun 10, 2024

Extend CompactedPinotSegmentRecordReader so that it can skip deleteRecord if configured.

Note that dropping deleteRecord too soon may cause the old soft-deleted record to show up unexpectedly, so one should be careful when to skip the deleteRecord. e.g. tombstones from segments older than certain threshold may be dropped safely.

Plus a few fix on code formats

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (a7cfccd).
Report is 595 commits behind head on master.

Files Patch % Lines
...ent/readers/CompactedPinotSegmentRecordReader.java 0.00% 8 Missing ⚠️
...che/pinot/plugin/minion/tasks/MinionTaskUtils.java 0.00% 4 Missing ⚠️
...t/controller/util/ServerSegmentMetadataReader.java 0.00% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13352       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%     
=============================================
  Files          2436     2472       +36     
  Lines        133233   136248     +3015     
  Branches      20636    21160      +524     
=============================================
- Hits          82274        0    -82274     
- Misses        44911   136248    +91337     
+ Partials       6048        0     -6048     
Flag Coverage Δ
custom-integration1 ?
integration 0.00% <0.00%> (-0.01%) ⬇️
integration1 ?
integration2 0.00% <0.00%> (ø)
java-11 0.00% <0.00%> (-61.71%) ⬇️
java-21 0.00% <0.00%> (-61.63%) ⬇️
skip-bytebuffers-false 0.00% <0.00%> (-61.75%) ⬇️
skip-bytebuffers-true 0.00% <0.00%> (-27.73%) ⬇️
temurin 0.00% <0.00%> (-61.76%) ⬇️
unittests ?
unittests1 ?
unittests2 ?

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.

@klsince klsince merged commit b371feb into apache:master Jun 10, 2024
20 checks passed
@klsince klsince deleted the extend_CompactedPinotSegmentRecordReader branch June 10, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants