You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/01/23 07:35:00 UTC

[jira] [Updated] (RATIS-1774) Change SenderList in LeaderStateImpl to implement Iterable

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

Tsz-wo Sze updated RATIS-1774:
------------------------------
    Description: 
In RATIS-1751, we have added FollowerInfoMap in LeaderStateImpl.

-In the JIRA, we will remove SenderList and combine it with FollowerInfoMap.-

It turns out that FollowerInfoMap needs a separated list to to support iterating the LogAppender(s). Therefore, it is better to keep the SenderList. We will change it to implement Iterable in the JIRA.

  was:
In RATIS-1751, we have added FollowerInfoMap in LeaderStateImpl.

In the JIRA, we will remove SenderList and combine it with FollowerInfoMap.

        Summary: Change SenderList in LeaderStateImpl to implement Iterable  (was: Remove SenderList from LeaderStateImpl)

> Change SenderList in LeaderStateImpl to implement Iterable
> ----------------------------------------------------------
>
>                 Key: RATIS-1774
>                 URL: https://issues.apache.org/jira/browse/RATIS-1774
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In RATIS-1751, we have added FollowerInfoMap in LeaderStateImpl.
> -In the JIRA, we will remove SenderList and combine it with FollowerInfoMap.-
> It turns out that FollowerInfoMap needs a separated list to to support iterating the LogAppender(s). Therefore, it is better to keep the SenderList. We will change it to implement Iterable in the JIRA.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)