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

Purge logs in takeSnapshot only after all the nodes have caught up with the index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • snapshot
    • None

    Description

      Leader will purge the snapshot after applying a transaction. A transaction is applied after a majority has been reached. This means that a slow follower will request for a transaction which has already been purged and for this transaction to catchup the leader has to transfer the snapshot. This can be detrimental for the performance while replicating.

      Attachments

        1. r563_20190528b.patch
          18 kB
          Tsz-wo Sze
        2. r563_20190528.patch
          17 kB
          Tsz-wo Sze
        3. r563_20190524.patch
          15 kB
          Tsz-wo Sze
        4. r563_20190522.patch
          15 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: