kezhuw opened a new pull request, #1852:
URL: https://github.com/apache/zookeeper/pull/1852

   This test writes txns to trigger snapshot and expects some txns remain
   in txn log. But snapshot taking is asynchronous, thus all txns could be
   written to snapshot. So in restarting, it is possible that no txns to
   load after snapshot restored. This will fail assertion.
   
   This commit solves this by disable automic snapshot taking by
   `SyncRequestProcessor.setSnapCount(Integer.MAX_VALUE)`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to