Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13831

Move WAL archive cleanup from checkpoint to rollover

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10
    • Component/s: persistence
    • Labels:
      None
    • Release Note:
      Moving the cleanup of WAL archive from the end of the checkpoint to a separate thread when the DataStorageConfiguration#maxWalArchiveSize * IGNITE_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE is reached.
    • Ignite Flags:
      Release Notes Required

      Description

      Users expect DataStorageConfiguration#maxWalArchiveSize to mean that WAL archive will not exceed this value, but it is not.
      It seems that to reduce the chance of getting into a situation when we exceed WAL archive, it will be lowed when we clean it when switching to a new segment than at the end of the checkpoint. It is proposed to move the archive cleanup to FileWriteAheadLogManager#rollOver when the DataStorageConfiguration#maxWalArchiveSize is reached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ktkalenko@gridgain.com Kirill Tkalenko
                Reporter:
                ktkalenko@gridgain.com Kirill Tkalenko
                Reviewer:
                Anton Kalashnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 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 - 0.5h
                  0.5h