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

rqlite unable to recover if entire cluster comes up with new IP addresses #897

Closed
otoolep opened this issue Sep 16, 2021 · 3 comments · Fixed by #898
Closed

rqlite unable to recover if entire cluster comes up with new IP addresses #897

otoolep opened this issue Sep 16, 2021 · 3 comments · Fixed by #898

Comments

@otoolep
Copy link
Member

otoolep commented Sep 16, 2021

What version are you running?
6.50

See #818 (comment) for full details.

@otoolep
Copy link
Member Author

otoolep commented Sep 16, 2021

RecoverCluster does the following:

  • attempts to apply all snapshots, oldest to newest.
  • applies all remaining log entries
  • creates a new snapshot, inserting provided configuration into snap
  • returns

It might be cleaner (less changes to Store object) to simply implement this directly in the Store code itself.

@otoolep
Copy link
Member Author

otoolep commented Sep 16, 2021

@otoolep
Copy link
Member Author

otoolep commented Sep 16, 2021

Surround it with

  • check peers.json exist logic
  • decode it
  • apply it (custom "recover cluster")
  • delete peers.json, or move to new file to indicate it was processed, and as a record.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant