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] Remove reliance of checkpoints from replica shards if remote translog is enabled #4505

Closed
Tracked by #4507 ...
ashking94 opened this issue Sep 14, 2022 · 1 comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request

Comments

@ashking94
Copy link
Member

Is your feature request related to a problem? Please describe.
We need to identify all such interaction points with checkpoints and mutates it while in primary shard. Currently checkpoints are used in a lot of areas directly or indirectly like Index commits, translogs, segments, insync shards, etc. But primarily it keeps track of how far are the replicas behind the primary. It also helps in deciding from what sequence number should the recovery happen on replicas since a definition of global / local checkpoint guarantees durability of data upto the sequence number it refers to.

Describe the solution you'd like
With no-op replication, the calls would not be reaching to the engine of the replica anymore. The calls would return to the primary before that itself. That kinds of makes the need of relying on the checkpoints unnecessary for primary and as well as replica. In this issue, we plan to remove the reliance only for replica shards

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@ashking94
Copy link
Member Author

Taken cared off with #5282.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request
Projects
None yet
Development

No branches or pull requests

2 participants