zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afine <...@git.apache.org>
Subject [GitHub] zookeeper issue #414: ZOOKEEPER-2932 Performance enhancement about purging t...
Date Tue, 07 Nov 2017 23:29:14 GMT
Github user afine commented on the issue:

    https://github.com/apache/zookeeper/pull/414
  
    I got curious and took a look, it seems like this is related to `sortDataDir` and the
way it handles files that have a different "prefix" than what is passed in. 
    ```
        * @param prefix files not matching this prefix are assumed to have a
        * version = -1)
    ```
    
    Not sure what the best way to handle this would be. I think throwing in a check while
iterating getLogFiles may be the simplest way to go. Maybe you could think of something cleaner.


---

Mime
View raw message