[MCOL-1076] Make BRM saves atomic Created: 2017-12-04  Updated: 2023-10-25  Resolved: 2023-10-25

Status: Closed
Project: MariaDB ColumnStore
Component/s: Columnstore Select Handler
Affects Version/s: 1.2.3
Fix Version/s: 23.10

Type: New Feature Priority: Major
Reporter: Andrew Hutchings (Inactive) Assignee: Denis Khalikov
Resolution: Won't Do Votes: 0
Labels: None


 Description   

BRM saves currently just write and sync and move on to the next file of the trio. If one of the three fails there is no rollback. We need to make writes atomic by using symlinks that can be switched to new files and a state file to mark when the switch is complete.

If we find a state file in existence at the next checkpoint we know something is bad and can abort at that point before any further damage is done.


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