Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-190 Support stale read from followers
  3. RATIS-204

Add getLastAppliedTermIndex to StateMachine

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      It turns out that the last applied TermIndex is useful for all StateMachine implementation in order to support snapshot.

      RATIS-190 also needs it to check follower's last applied index before processing a stale read request.

      Attachments

        1. r204_20180126.patch
          22 kB
          Tsz-wo Sze
        2. r204_20180130.patch
          26 kB
          Tsz-wo Sze
        3. r204_20180130b.patch
          38 kB
          Tsz-wo Sze
        4. r204_20180131.patch
          32 kB
          Tsz-wo Sze
        5. r204_20180131b.patch
          30 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: