Skip to content

Conversation

@tibrewalpratik17
Copy link
Contributor

label:
performance

This patch sorts the candidate-segments for UpsertCompaction in descending order of invalidDocs present. This way we get more disk reduction if tableMaxNumTasks is specified.

Added UTs to verify the expected behaviour.

@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2024

Codecov Report

❌ Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.77%. Comparing base (99e2908) to head (4960a0b).
⚠️ Report is 2946 commits behind head on master.

Files with missing lines Patch % Lines
...psertcompaction/UpsertCompactionTaskGenerator.java 60.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12461      +/-   ##
============================================
+ Coverage     61.72%   61.77%   +0.05%     
  Complexity      207      207              
============================================
  Files          2436     2436              
  Lines        133178   133185       +7     
  Branches      20628    20629       +1     
============================================
+ Hits          82208    82281      +73     
+ Misses        44923    44847      -76     
- Partials       6047     6057      +10     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (ø)
integration <0.01% <0.00%> (ø)
integration1 <0.01% <0.00%> (ø)
integration2 0.00% <0.00%> (ø)
java-11 61.68% <60.00%> (-0.01%) ⬇️
java-21 61.65% <60.00%> (+0.05%) ⬆️
skip-bytebuffers-false 61.74% <60.00%> (+0.02%) ⬆️
skip-bytebuffers-true 61.60% <60.00%> (+0.01%) ⬆️
temurin 61.77% <60.00%> (+0.05%) ⬆️
unittests 61.77% <60.00%> (+0.05%) ⬆️
unittests1 46.87% <ø> (+0.01%) ⬆️
unittests2 27.77% <60.00%> (+0.04%) ⬆️

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.

Copy link
Contributor

@snleee snleee left a comment

Choose a reason for hiding this comment

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

LGTM

@snleee snleee merged commit e161b78 into apache:master Feb 21, 2024
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.

3 participants