AntidoteDB / antidote

A planet scale, highly available, transactional database built on CRDT technology
https://www.antidotedb.eu
Apache License 2.0
832 stars 89 forks source link

Database dump #284

Open bieniusa opened 7 years ago

bieniusa commented 7 years ago

When testing it would be convenient to have the possibility to dump the current system state to some file. This is non-trivial as it is not clear what the current system state. Best effort would already be good for testing purposes; alternatively, dumping a specific snapshot might help.

marc-shapiro commented 7 years ago

On a related note: Michal is working on a log analyzer to debug it.

                    Marc

Le 13 mars 2017 à 00:06, Annette Bieniusa notifications@github.com a écrit :

When testing it would be convenient to have the possibility to dump the current system state to some file. This is non-trivial as it is not clear what the current system state. Best effort would already be good for testing purposes; alternatively, dumping a specific snapshot might help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

bieniusa commented 7 years ago

@lplit Did you implement a log dump? Then please submit a pull request :) Is there a particular reason why you are debugging it? If there is a bug, can you file an issue?

marc-shapiro commented 7 years ago

The plan is to have a tool so that we can verify fault tolerance. We won't know if there is a bug until we look for it.

                Marc

Le 13 mars 2017 à 08:30, Annette Bieniusa notifications@github.com a écrit :

Did he implement a log dump? Then he should submit a pull request :) Is there a particular reason why he is debugging it? If there is a bug, can he file an issue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SyncFree/antidote/issues/284#issuecomment-286033425, or mute the thread https://github.com/notifications/unsubscribe-auth/AGWtnyIA9jZ-fRAd-G8IUho02cMqKBAjks5rlPCwgaJpZM4Matoi.

lplit commented 7 years ago

@bieniusa It's still in works (and in early stages, too), I'm hoping to use it to verify logs in my replication scenarios, for redundant static log analyse from a log dump, and/or in 'live mode' while running Antidote. I haven't found any particular issues or bugs concerning this (yet) - if I find something I'll post in this thread.

FairPlayer4 commented 3 years ago

I will start with this before implementing a checkpointing mechanism (like in gingko)