Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1557 Support linearizable read from followers (Read Index)
  3. RATIS-1643

Add heartbeat broadcast mechanism for leader readIndex

    XMLWordPrintableJSON

Details

    Description

      Add the heartbeat broadcast mechanism in LeaderStateImpl:

      When requested for readIndex, leader should broadcast a round of heartbeats to all followers. If the majority successfully acknowledges, then the leadership is confirmed and the readIndex can be safely returned.

      Attachments

        1. 730_review2.patch
          13 kB
          Tsz-wo Sze
        2. 730_review.patch
          22 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              William Song Song Ziyang
              William Song Song Ziyang
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 4.5h
                  4.5h