Tsz Wo Nicholas Sze created RATIS-504:
-----------------------------------------

             Summary: 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 Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze


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
(v7.6.3#76005)

Reply via email to