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

Purge should delete segmentLog from small to large according to logIndex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • server
    • None

    Description

      During the restart, a gap was discovered while replaying the logs.
      After the assertion is triggered, it will cause the RaftServer to fail to start.
       

       
      The deletion of segmentLog is sorted from large to small according to logIndex, just change the deletion order

       

       

       

      Attachments

        Issue Links

          Activity

            People

              tohsakarin__ yuuka
              tohsakarin__ yuuka
              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 - 1h 20m
                  1h 20m