-
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
Add Delete Operations to Translog from Engine #2980
Add Delete Operations to Translog from Engine #2980
Conversation
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
Same note as #2977 (comment) - please add javadocs for the new API Other than that, LGTM! |
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
start gradle check |
Note - we're holding off on pushing this as per #2977 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figured this is implicit by now but wanted to explicitly mark this to be merged when we have a PR that uses the method.
@Rishikesh1159 Any updates on this? Are you still blocked? |
Closing this PR. Changes necessary are added in a different PR. |
Signed-off-by: Rishikesh1159 rishireddy1159@gmail.com
Description
This PR will allow us to decouple adding Delete operations to Lucene and adding Delete operations to Translog. This would be useful for segment replication, as we will need to just add delete operation to replicas translog instead of performing full delete operation. We will only use this method when segment replication is enabled and when we are on a replica node. The logic for checking if segment replication is enabled and is replica node will be added later in a different PR.
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: #2926
For added context on segment replication - here's the design proposal #2229
Issues Resolved
#2926
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.