[ https://issues.apache.org/jira/browse/ZOOKEEPER-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198822#comment-15198822 ]
Patrick Hunt commented on ZOOKEEPER-2195: ----------------------------------------- [~gsbiju] that looks right, but can we keep the static final by using a local variable instead of changing from final? > fsync.warningthresholdms in zoo.cfg not working > ----------------------------------------------- > > Key: ZOOKEEPER-2195 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2195 > Project: ZooKeeper > Issue Type: Bug > Components: quorum > Affects Versions: 3.4.6, 3.5.0 > Reporter: David Fan > Assignee: Biju Nair > Priority: Trivial > Fix For: 3.4.9, 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2195-1.patch, ZOOKEEPER-2195-DOC.patch, > ZOOKEEPER-2195.patch > > > Config fsync.warningthresholdms in zoo.cfg does not work. > I find QuorumPeerConfig.parseProperties give fsync.warningthresholdms a > prefix like "zookeeper.fsync.warningthresholdms". But in class FileTxnLog > where fsync.warningthresholdms is used, code is > :Long.getLong("fsync.warningthresholdms", 1000),without prefix "zookeeper.", > therefore can not get fsync.warningthresholdms's value. > I wonder the speed of fsync, need this config to see whether the speed is > good enough. -- This message was sent by Atlassian JIRA (v6.3.4#6332)