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

[BUG]Leader checkpoint is not updated in case shard replication task reinitiate #900

Closed
nisgoel-amazon opened this issue May 29, 2023 · 1 comment
Labels
bug Something isn't working v2.8.0

Comments

@nisgoel-amazon
Copy link
Contributor

nisgoel-amazon commented May 29, 2023

What is the bug?
We have seen in follower stats API, follower checkpoint is much ahead of leader checkpoint when shard replication task is reinitialized and there are no changes happening on that particular index.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Create Leader index and start the replication on follower domain
  2. Add data on leader index and get it synced on follower domain
  3. Bounce OpenSearch on one of the data node on which shard replication task is working
  4. Check follower_stats API, It should have follower_checkpoint greater than leader_checkpoint

What is the expected behavior?
follower_stats API should return correct data

What is your host/environment?

  • OS: linux
  • Version OS_2.7
  • Plugins CCR
@monusingh-1
Copy link
Collaborator

Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.8.0
Projects
None yet
Development

No branches or pull requests

3 participants