zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OuYang Liang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2932) Performance enhancement about purging task
Date Mon, 06 Nov 2017 09:18:03 GMT
OuYang Liang created ZOOKEEPER-2932:

             Summary: Performance enhancement about purging task
                 Key: ZOOKEEPER-2932
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2932
             Project: ZooKeeper
          Issue Type: Improvement
          Components: server
            Reporter: OuYang Liang

The method FileTxnLog.getLogFiles is used to find out the target log files to be retained
base on the given zxid when purging task is running. The current implementation of this method
is trivial to understand, and iterate the log files twice to achieve its purchase. It could
be improved from both performance and readability.

This message was sent by Atlassian JIRA

View raw message