You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2018/01/21 11:58:00 UTC

[jira] [Created] (RATIS-196) RaftServerProtocolService may continue to reply after

Mukul Kumar Singh created RATIS-196:
---------------------------------------

             Summary: RaftServerProtocolService may continue to reply after 
                 Key: RATIS-196
                 URL: https://issues.apache.org/jira/browse/RATIS-196
             Project: Ratis
          Issue Type: Bug
            Reporter: Mukul Kumar Singh
            Assignee: Mukul Kumar Singh


This issue was observed while deploying Ozone with Ratis, with appendEntriesAsync {{AppendEntryRequestProto}} are sent to the followers in an asynchronous manner. It can happen that the follower is replying to the Leader even after the election is over.

{code}
         server.appendEntriesAsync(request).thenCombine(previous,
              (reply, v) -> {
              responseObserver.onNext(reply);
            current.complete(null);
{code}



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