-
Notifications
You must be signed in to change notification settings - Fork 266
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
Persistence #45
Comments
Even just a good way to dump/load everything. Would be useful to do backups (my use case is config data I'd rather not have to repopulate if something terrible happened, even with multiple nodes). |
You could implement dump/load using the API now. |
If you read through the commits from @4ad in https://github.com/4ad/doozerd he essentially comes to the conclusion that something like this doesn't belong (or need to be) in the core. I agree with this viewpoint. I'm all for making it easy to backup (I happen to just use shell scripts with the command line client) but I think persistence as this issue intends should be handled separately (ie outside core |
@mreiferson -- We at soundcloud are also doing out-of-band snapshot/journaling (with doozer-journal). But this kind of solution -- and any alternative given the current core features -- has one major problem: sequence numbers are not preserved. If the cluster is restarted and rebuilt from an external source, all clients who attempt to use API calls which accept revisions will observe unexpected behavior. |
Add (maybe optional?) persistence to Doozerd. Needs much thought and discussion.
The text was updated successfully, but these errors were encountered: