-
Notifications
You must be signed in to change notification settings - Fork 24.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
Remove sync flush logic in Engine #51450
Conversation
Pinging @elastic/es-distributed (:Distributed/Engine) |
I think it's fine not to renew sync_id after force merge in 8.0. If the replica is online, then sync_id is not needed as that replica should have established PRRL. And if the replica is offline, copying segment files is perhaps more beneficial than operation-based recovery. I've removed the renewal logic in cd97e6c. |
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.
LGTM
Thanks Yannick. |
This change removes the sync-flush logic in the InternalEngine as we no longer issue new syncIds in 8.0.
Sadly, we need to keep the renewal logic as we should re-issue the syncId if users trigger a force-merge.Relates #50776