zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfenes <...@git.apache.org>
Subject [GitHub] zookeeper issue #450: ZOOKEEPER-2967: Add check to validate dataDir and data...
Date Fri, 02 Feb 2018 00:01:28 GMT
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.


---

Mime
View raw message