zk1931 / jzab

ZooKeeper Atomic Broadcast in Java
http://zk1931.github.io/jzab/master/
Apache License 2.0
54 stars 23 forks source link

Problems about snapshot #138

Closed EasonLiao closed 10 years ago

EasonLiao commented 10 years ago

Hi @fpj , I have a question about snapshot.

Zookeeper will take the snapshot once the synchronization is done. Currently javazab won't take snapshot after synchronization and it only takes snapshot after certain amount of transactions are delivered in broadcasting phase. So I was wondering if there's any reason for Zookeeper to do that? I feel whether take snapshot or not after synchronization doesn't matter but still want verify it to make sure we don't miss anything.

Thanks!

ghost commented 10 years ago

@EasonLiao we can probably close this now, right?

EasonLiao commented 10 years ago

Yes, I guess we know why zookeeper does this.