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

[Remote Store] During failover, download segments from remote segment store for a lagging replica #4578

Closed
Tracked by #5671
sachinpkale opened this issue Sep 23, 2022 · 0 comments
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Durability Issues and PRs related to the durability framework

Comments

@sachinpkale
Copy link
Member

Describe the solution you'd like

  • This assumes index has Segment Replication and Remote Store enabled (remote translog and remote segment store).
  • When fail-over is triggered and the replica to be promoted is lagging, we have two options:
    • Replay operations from remote translog
    • Download segments from remote segment store and replay operations from translog
  • Second option is faster as lesser operations are replayed from translog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Durability Issues and PRs related to the durability framework
Projects
None yet
Development

No branches or pull requests

4 participants