Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Removing the ability to remove segments from the middle of WAL archive.
-
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
- causes
-
IGNITE-13848 Premature update SegmentReservationStorage#minReserveIdx during truncate of segments
- Resolved
-
IGNITE-13910 Do not release a segment if it is not present in FileWriteAheadLogManager#reserve
- Resolved
- links to