[
https://issues.apache.org/jira/browse/RATIS-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krishna Kumar Asawa updated RATIS-1816:
---------------------------------------
Labels: Triaged (was: )
> appendEntryTimer is not accurate due to the return of writeFuture
> -----------------------------------------------------------------
>
> Key: RATIS-1816
> URL: https://issues.apache.org/jira/browse/RATIS-1816
> Project: Ratis
> Issue Type: Bug
> Components: metrics, server
> Affects Versions: 2.4.1
> Reporter: huxiangpeng
> Priority: Major
> Labels: Triaged
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> see
> [code|https://github.com/apache/ratis/blob/master/ratis-server/src/main/java/org/apache/ratis/server/raftlog/segmented/SegmentedRaftLog.java#L381-L417].
>
> AppendEntryTimer will close when return the writeFutrue, but the writeFutrue
> is not completed.
> The appendEntryTimer should close when the writeFuture is completed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)