Github user a470577391 commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/553#discussion_r198817324
--- Diff:
src/java/main/org/apache/zookeeper/server/persistence/FileTxnLog.java ---
@@ -254,7 +254,7 @@ public synchronized boolean append(TxnHeader hdr,
Record txn)
for (File f : files) {
long fzxid = Util.getZxidFromName(f.getName(),
LOG_FILE_PREFIX);
if (fzxid > snapshotZxid) {
- continue;
+ break;
}
// the files
--- End diff --
2. ZooKeeper runs in Java, release 1.8 or greater :smile:
---