ZOOKEEPER-657. Cut down the running time of ZKDatabase corruption (Michi Mutsuzaki via rakeshr)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1594756 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'remotes/origin/branch-3.4' into branch-3.4