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

Persistence #45

Open
bketelsen opened this issue Mar 1, 2013 · 4 comments
Open

Persistence #45

bketelsen opened this issue Mar 1, 2013 · 4 comments
Labels

Comments

@bketelsen
Copy link
Member

Add (maybe optional?) persistence to Doozerd. Needs much thought and discussion.

@darkhelmet
Copy link

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).

@cespare
Copy link

cespare commented Mar 16, 2013

You could implement dump/load using the API now.

@mreiferson
Copy link
Contributor

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 doozerd).

@bernerdschaefer
Copy link
Contributor

@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.

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

No branches or pull requests

5 participants