Li Wang created ZOOKEEPER-4318: ---------------------------------- Summary: 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 Fix For: 3.7.1, 3.8
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)