Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
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.
-
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
- is blocked by
-
IGNITE-13847 Make GridEncryptionManager#onWalSegmentRemoved async
- Resolved
- is caused by
-
IGNITE-13912 Incorrect calculation of WAL segments that should be deleted from WAL archive
- Resolved
- links to