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

SegmentedRaftLogWorker#closeLogSegment should also roll the open segment maintained in the cache.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      While closing a open log segment using the SegmentedRaftLogWorker#closeLogSegment method, the corresponding cache segment also needs to be rolled (close and open a new empty one). Else, the cache will go out of sync with the on disk log segment state.

      cc lokeshjain / hanishakoneru

      Attachments

        Issue Links

          Activity

            People

              avijayan Aravindan Vijayan
              avijayan Aravindan Vijayan
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1.5h
                  1.5h