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

Add watermark for dedup TTL #14137

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

klsince
Copy link
Contributor

@klsince klsince commented Oct 1, 2024

Dedup feature has TTL but it didn't store/load TTL watermark as done in upsert feature, so this PR adds this, to avoid the waste of adding stale dedup metadata into store when loading segments.

@klsince klsince changed the title Watermark dedup ttl Add watermark for dedup TTL Oct 1, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2024

Codecov Report

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

Project coverage is 55.74%. Comparing base (59551e4) to head (82a1885).
Report is 1117 commits behind head on master.

Files with missing lines Patch % Lines
...local/dedup/BasePartitionDedupMetadataManager.java 0.00% 40 Missing ⚠️
...up/ConcurrentMapPartitionDedupMetadataManager.java 0.00% 4 Missing ⚠️
...cal/upsert/BasePartitionUpsertMetadataManager.java 0.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (59551e4) and HEAD (82a1885). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (59551e4) HEAD (82a1885)
skip-bytebuffers-false 7 6
unittests 5 3
java-11 5 4
unittests2 3 0
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14137      +/-   ##
============================================
- Coverage     61.75%   55.74%   -6.01%     
- Complexity      207      796     +589     
============================================
  Files          2436     2048     -388     
  Lines        133233   108335   -24898     
  Branches      20636    17185    -3451     
============================================
- Hits          82274    60394   -21880     
+ Misses        44911    43138    -1773     
+ Partials       6048     4803    -1245     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 55.70% <0.00%> (-6.01%) ⬇️
java-21 55.59% <0.00%> (-6.04%) ⬇️
skip-bytebuffers-false 55.74% <0.00%> (-6.01%) ⬇️
skip-bytebuffers-true 55.55% <0.00%> (+27.82%) ⬆️
temurin 55.74% <0.00%> (-6.01%) ⬇️
unittests 55.74% <0.00%> (-6.01%) ⬇️
unittests1 55.74% <0.00%> (+8.85%) ⬆️
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.

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