GitHub user lvfangmin opened a pull request: https://github.com/apache/zookeeper/pull/632
[ZOOKEEPER-3150] Add tree digest check and verify data integrity when loading from disk Jira ZOOKEEPER-3114 will be divided into two parts: 1. data integrity check when loading snapshot/txns from disk 2. real time data consistency check when syncing and following leader This is the first part, which is going to check the data integrity by calculating the hash value of data tree, and compare the value when reload the snapshot/txns from disk. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lvfangmin/zookeeper ZOOKEEPER-3150 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/632.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #632 ---- commit a132ad06d987e09c2e9ebb3c44d2a04e8d2528ad Author: Fangmin Lyu <allenlyu@...> Date: 2018-09-19T03:06:00Z Add tree digest check and verify consistency when loading from disk ---- ---