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

Change the default number of outstanding append entries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • gRPC
    • None

    Description

      The following is an observation from William Song:

      In some of our scenarios, this problem happens when a new leader is elected and start sending AppendEntries to a slow follower. Unfortunately, this slow follower is going through a GC pause, so these AppendEntries just accumulates at gRPC buffer. When the slow follower comes around and starts dealing with these piled RPCs, it immediately finds the first AppendEntries nextIndex is inconsistent. So it replies INCONSISTENT to all of these accumulated AE RPCs, all with the same nextIndex.

      See https://github.com/apache/ratis/pull/832#issuecomment-1451186915

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m