Github user tamaashu commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/553#discussion_r198879610
  
    --- 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 --
    
    @a470577391 ZooKeeper 3.4.x runs on Java7, version 3.5.x and 3.6.x are not 
stable yet, they use Java8.


---

Reply via email to