Skip to content

Avoid Inconsistencies among replicas during Upsert Compaction Tasks#17695

Closed
deepthi912 wants to merge 3 commits intoapache:masterfrom
deepthi912:validDocIdsInconsistency
Closed

Avoid Inconsistencies among replicas during Upsert Compaction Tasks#17695
deepthi912 wants to merge 3 commits intoapache:masterfrom
deepthi912:validDocIdsInconsistency

Conversation

@deepthi912
Copy link
Collaborator

Reference: In addition to the inconsistencies we are seeing across replicas in upsert tables, we identified that sometimes if server restarts take very long and replica server delays an amount where there is differences in validDocIds, we have seen cases where some servers might not have snapshots on disk for validdocIds. Now let's say if a compaction task runs and take the validDocIds from server with less number of valid docs and replace with the server with higher valid DocIds.

In such cases, the rest of these valid docs are removed pointing the next entries as first rather than merging them with previous ones.

@deepthi912 deepthi912 closed this Feb 13, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.64%. Comparing base (6f0a22d) to head (b1f8e91).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #17695   +/-   ##
=========================================
  Coverage     55.63%   55.64%           
  Complexity      721      721           
=========================================
  Files          2479     2479           
  Lines        140436   140436           
  Branches      22375    22375           
=========================================
+ Hits          78134    78146   +12     
+ Misses        55709    55700    -9     
+ Partials       6593     6590    -3     
Flag Coverage Δ
integration 0.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 55.62% <ø> (+0.01%) ⬆️
java-21 55.59% <ø> (+<0.01%) ⬆️
temurin 55.64% <ø> (+<0.01%) ⬆️
unittests 55.64% <ø> (+<0.01%) ⬆️
unittests1 55.64% <ø> (+<0.01%) ⬆️

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.

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.

2 participants