Github user mfenes commented on the issue:

    https://github.com/apache/zookeeper/pull/450
  
    @afine I've made the following changes:
    Replaced "log" and "snapshot" strings with constants 
FileTxnLog.LOG_FILE_PREFIX and FileSnap.SNAPSHOT_FILE_PREFIX.
    Used Util.makeLogName when creating new transaction log file to make sure 
creation and verification follows the same file name pattern. 
    Added reference to ZOOKEEPER-2967 to explain why this check is needed.
    Cleaned up/refactored unit test FileTxnSnapLogTest to make it less verbose 
and consistent.


---

Reply via email to