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] [Remote State] Auto Restore during remote cluster state restore can lead to split primaries in Remote Store Domains #10658

Closed
linuxpi opened this issue Oct 17, 2023 · 2 comments · Fixed by #10665
Labels
bug Something isn't working Cluster Manager Storage:Remote Storage Issues and PRs relating to data and metadata storage v2.12.0 Issues and PRs related to version 2.12.0

Comments

@linuxpi
Copy link
Collaborator

linuxpi commented Oct 17, 2023

Describe the bug

  • With Remote Store domains, if Remote Cluster State is enabled, after quorum loss recovery if local disk state is lost we auto restore from remote cluster state
  • During this auto restore, due to network partitions isolating existing primaries can lead to replica being promoted to primary in other network partition.
  • This can eventually lead to 2 primaries writing to remote.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Remote cluster state Auto Restore should not lead to split primaries.

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@linuxpi linuxpi added bug Something isn't working untriaged labels Oct 17, 2023
@shwetathareja shwetathareja added Cluster Manager Storage Issues and PRs relating to data and metadata storage Storage:Remote v2.12.0 Issues and PRs related to version 2.12.0 and removed untriaged labels Oct 17, 2023
@shwetathareja
Copy link
Member

@linuxpi : wondering if this should be a configuration control where user accepts the risk and wants to enable auto restore for higher availability.

@linuxpi
Copy link
Collaborator Author

linuxpi commented Oct 20, 2023

@linuxpi : wondering if this should be a configuration control where user accepts the risk and wants to enable auto restore for higher availability.

yeah, i think we can evaluate that. restoring to a green cluster is a really good state and this a very edge case. i can keep this issue open or open a new one to evaluate that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cluster Manager Storage:Remote Storage Issues and PRs relating to data and metadata storage v2.12.0 Issues and PRs related to version 2.12.0
Projects
None yet
2 participants