[
https://issues.apache.org/jira/browse/ZOOKEEPER-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Damien Diederen updated ZOOKEEPER-4318:
---------------------------------------
Fix Version/s: 3.7.1
> Only report the follower sync time metrics if sync is completed
> ---------------------------------------------------------------
>
> Key: ZOOKEEPER-4318
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4318
> Project: ZooKeeper
> Issue Type: Improvement
> Components: metric system
> Affects Versions: 3.8
> Reporter: Li Wang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.8.0, 3.7.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> We should calculate the sync time only if completedSync is true. Otherwise,
> we will get noisy data such as 0 sync time in cases where sync immediately
> failed (due to network partition for example).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)