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 Nicholas Sze (JIRA)" <ji...@apache.org> on 2019/03/14 22:30:00 UTC

[jira] [Commented] (RATIS-499) Server should close the sliding window if it steps down

    [ https://issues.apache.org/jira/browse/RATIS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793121#comment-16793121 ] 

Tsz Wo Nicholas Sze commented on RATIS-499:
-------------------------------------------

r499_20190314.patch:
- closes all existing sliding windows when a server steps down from a leader role;
- also takes this chance to rename the terminology "append" to "ordered" ("append" is confusing with appendEntries and LogAppender.)

Will see if I can add some new tests.

> Server should close the sliding window if it steps down
> -------------------------------------------------------
>
>                 Key: RATIS-499
>                 URL: https://issues.apache.org/jira/browse/RATIS-499
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Major
>         Attachments: r499_20190314.patch
>
>
> The situation described in RATIS-459 is still possible if a server is not restarted.  A simple solution is to close the sliding window if there is a NotLeaderException.  indeed, we should close all client connections when a leader steps down.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)