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/18 11:32:00 UTC

[jira] [Comment Edited] (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=16794907#comment-16794907 ] 

Tsz Wo Nicholas Sze edited comment on RATIS-499 at 3/18/19 11:31 AM:
---------------------------------------------------------------------

r499_20190318b.patch: uses unordered async calls for blocking requests in gRPC.  Otherwise, closing the ordered streams will fail the blocking calls.


was (Author: szetszwo):
r499_20190318b.patch: uses unordered async calls for block requests in gRPC.

> 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)