Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-196

RaftServerProtocolService may continue to reply after it is closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      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.

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

      Attachments

        1. RATIS-196.001.patch
          2 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: