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 2022/08/05 18:15:00 UTC

[jira] [Resolved] (RATIS-504) GrpcClientProtocolService should close connection for NotLeaderException

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

Tsz-wo Sze resolved RATIS-504.
------------------------------
    Resolution: Cannot Reproduce

We did not observe this problem for a long time.  Resolving ...

> GrpcClientProtocolService should close connection for NotLeaderException
> ------------------------------------------------------------------------
>
>                 Key: RATIS-504
>                 URL: https://issues.apache.org/jira/browse/RATIS-504
>             Project: Ratis
>          Issue Type: Bug
>          Components: gRPC
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> When a server is a follower, clients can still send requests to it.  The server will response NotLeaderException.  It is possible that the server may later become a leader.  As a result, the server may replies NotLeaderException for some earlier requests when it is not yet the leader, and then processes some later requests after it becomes the leader.  It violates the ordering guarantee.



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