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

Fixed the issue that RatisServer could not start after frequent restarts

    XMLWordPrintableJSON

Details

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

    Description


      Currently, in the key write path of Ratis, segment switching and log persistence are asynchronous. Therefore, when Ratis shuts down triggering an automatic snapshot or when a user manually triggers a snapshot, it is possible that the snapshot has already been generated while the corresponding log has not yet been persisted. In such cases, a restart might fail. This issue needs to be fixed.

      Attachments

        1. image-2024-08-08-14-48-33-657.png
          1.35 MB
          Xinyu Tan
        2. image-2024-08-08-14-48-17-943.png
          1.69 MB
          Xinyu Tan

        Issue Links

          Activity

            People

              tanxinyu Xinyu Tan
              tanxinyu Xinyu Tan
              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 - 50m
                  50m