[
https://issues.apache.org/jira/browse/RATIS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795558#comment-16795558
]
Tsz Wo Nicholas Sze commented on RATIS-499:
-------------------------------------------
Thanks [~ljain].
# We are already updating orderedStreamObservers in
completeReplyExceptionally(..).
# for a non-leader, the client will get NotLeaderException and then close the
connection.
> 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: gRPC, server
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Major
> Attachments: r499_20190314.patch, r499_20190318.patch,
> r499_20190318b.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)