[MXS-4631] Manually deleting log files breaks the file purge (expiration). Created: 2023-06-02  Updated: 2023-10-09  Resolved: 2023-10-09

Status: Closed
Project: MariaDB MaxScale
Component/s: pinloki
Affects Version/s: 2.5.25, 6.4.7, 22.08.6, 23.02.2
Fix Version/s: 2.5.27, 6.4.8, 22.08.7, 23.02.3

Type: Bug Priority: Major
Reporter: Niclas Antti Assignee: Niclas Antti
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to MXS-4658 Post reboot binlog router entered stu... Closed
Sprint: MXS-SPRINT-184

 Description   

Heading was: Harden BLR binlog file-index handlin

Manually deleting log files breaks the file purge (expiration). It is likely that an unfortunate crash could leave the index invalid as well.
Make the index file "for human information only". Re-read log file names and update times, and recreate the index file every time the index file is currently consulted.


Generated at Thu Feb 08 04:30:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.