You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2017/10/19 14:41:00 UTC

[jira] [Updated] (ZOOKEEPER-2921) fsyncWarningThresholdMS is applied on each getChannel().force() - also needed on entire commit

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jordan Zimmerman updated ZOOKEEPER-2921:
----------------------------------------
    Description: FileTxnLog.commit() has a warning when an individual sync takes longer than {{fsyncWarningThresholdMS}}. However, it would also be useful to warn when the entire commit operation takes longer than {{fsyncWarningThresholdMS}} as this can cause client connection failures. Currently, commit() can take longer than 2/3 of a session but still not log a warning.  (was: FileTxnLog.commit() has a warning when an individual sync takes longer than {{fsyncWarningThresholdMS}}. However, it would be more useful to warn when the entire commit operation takes longer than {{fsyncWarningThresholdMS}} as this can cause client connection failures. Currently, commit() can take longer than 2/3 of a session but still not log a warning.)

> fsyncWarningThresholdMS is applied on each getChannel().force() - also needed on entire commit
> ----------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2921
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2921
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.5.3
>            Reporter: Jordan Zimmerman
>            Priority: Minor
>
> FileTxnLog.commit() has a warning when an individual sync takes longer than {{fsyncWarningThresholdMS}}. However, it would also be useful to warn when the entire commit operation takes longer than {{fsyncWarningThresholdMS}} as this can cause client connection failures. Currently, commit() can take longer than 2/3 of a session but still not log a warning.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)