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

Allow log purge up to snapshot index

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      Ratis logs are purged only up to the least commit index on all the peers. But if one peer is down, it stop log purging on all the peers. If the Ratis server takes snapshots, then we can purge logs up to the snapshot index even if some peer has not committed up to that index. When the peer rejoins the ring, instead of ratis logs, it can get the snapshot to catch up.

      Attachments

        1. RATIS-850.001.patch
          3 kB
          Hanisha Koneru
        2. RATIS-850.002.patch
          3 kB
          Hanisha Koneru
        3. RATIS-850.003.patch
          3 kB
          Hanisha Koneru

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hanishakoneru Hanisha Koneru
            hanishakoneru Hanisha Koneru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment