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

Persist commit index in Raft log.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • server
    • None

    Description

      Current the commit index is not persisted in the Raft log. When a server restarts, it cannot apply its log until it has joined a Raft group. There is no problem if there is a Raft group.

      However, a server cannot recover its data when formatting a Raft group is impossible (e.g. a majority of servers are dead). Ideally, a server can safely apply the log up to the commit index. The JIRA is to persist the commit index so that such recovery is possible.

      Attachments

        1. r352_20181106.patch
          37 kB
          Tsz-wo Sze
        2. r352_20181107.patch
          42 kB
          Tsz-wo Sze
        3. r352_20181115.patch
          42 kB
          Tsz-wo Sze
        4. r352_20181117.patch
          30 kB
          Tsz-wo Sze
        5. r352_20181117b.patch
          47 kB
          Tsz-wo Sze
        6. r352_20181118.patch
          30 kB
          Tsz-wo Sze
        7. r352_20181119.patch
          31 kB
          Tsz-wo Sze
        8. r352_20181120.patch
          37 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: