You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/04/27 17:35:00 UTC

[jira] [Updated] (RATIS-1816) appendEntryTimer is not accurate due to the return of writeFuture

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

Attila Doroszlai updated RATIS-1816:
------------------------------------
    Fix Version/s: 2.5.0

> 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, 2.5.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)