-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Segment Replication] [BUG] Document update action fails segment replication #3787
Comments
The tests fails during segment replication step. Existing flow has one validation step to verify that |
From failure trace,
|
The actual cause of failure is missing segment files (created by lucene to track live/deleted documents) on replica specific to a segment number. The existing checkpoint comparator fails when it sees new files from primary's checkpoint info for a specific segment during comparison. Wrote a quick test in lucene library TestIndexWriter which confirms that delete operations creates .liv files (storing info about live documents). The
|
Picked up @Poojita-Raj changes from #4117. Raised new PR:
PR #4185 |
Describe the bug
Existing update documents (update/delete) cause segment replication failures.
To Reproduce
Steps to reproduce the behavior:
testDeleteOperations
testExpected behavior
Delete operations related tests should pass
This is a part of the process of merging our feature branch - feature/segment-replication - back into main by re-PRing our changes from the feature branch.
The breakdown of the plan to merge to main is detailed here: #2355
For added context on segment replication - here's the design proposal #2229
The text was updated successfully, but these errors were encountered: