[
https://issues.apache.org/jira/browse/ZOOKEEPER-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174645#comment-15174645
]
Biju Nair commented on ZOOKEEPER-2195:
--------------------------------------
[~davencool] Came across this issue while looking at options to set sync
warning time. According to the current documentation and the
QuorumPeerConfig.parseProperties ""fsync.warningthresholdms" property can be
set only as a Java system property. Let me know if you see that the code also
allows users to set this property in zoo.cfg. Thanks.
> 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
> Priority: Trivial
>
> 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)