Hi Abhilash,

I don't think we can force ZK to create a snapshot right now, see
https://stackoverflow.com/questions/13726951/force-zookeeper-to-generate-snapshot.

But there is a config option named snapCount to decide how many transactions
stored in the transaction log file before a snapshot is generated. However,
even with the same snapCount, ZK will deliberately avoid all ZK servers
generating the snapshots at the same time. I think this is because this
operation is expensive and may increase the latency.

HTH,
Zhewei



--
Sent from: http://zookeeper-user.578899.n2.nabble.com/

Reply via email to