[
https://issues.apache.org/jira/browse/RATIS-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1816.
-------------------------------
Fix Version/s: 3.0.0
Assignee: huxiangpeng
Resolution: Fixed
The pull request is now merged. Thanks, [~insere]!
> 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
> Assignee: huxiangpeng
> Priority: Major
> Labels: Triaged
> Fix For: 3.0.0
>
> Time Spent: 2h
> 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)