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

    https://github.com/apache/zookeeper/pull/450#discussion_r165525848
  
    --- Diff: 
src/java/main/org/apache/zookeeper/server/persistence/FileTxnSnapLog.java ---
    @@ -136,13 +136,51 @@ public FileTxnSnapLog(File dataDir, File snapDir) 
throws IOException {
                 throw new DatadirException("Cannot write to snap directory " + 
this.snapDir);
             }
     
    +        // check content of transaction log and snapshot dirs if they are 
two different directories
    --- End diff --
    
    Added reference to ZOOKEEPER-2967 in the comments.


---

Reply via email to