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

Remove ability to delete segments from the middle of WAL archive

    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:
      Removing the ability to remove segments from the middle of WAL archive.
    • Ignite Flags:
      Release Notes Required

      Description

      At the moment we have the option to delete segments from the middle of the archive via the FileWriteAheadLogManager#truncate. This creates gaps in the archive and makes it invalid.

      It should be possible to delete segments sequentially up to the upper boundary. It has also been found that there is no protection against segment deletion, which may be needed for a binary recovery.

      Also need to get rid of the physical check when reserving segments through the FileWriteAheadLogManager#reserve.

        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:
                4 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 - 20m
                  20m