[MDEV-11413] AliSQL: [feature] Issue#35: keep all FT files consistent when checkpoint lock is held Created: 2016-11-29  Updated: 2021-11-02  Resolved: 2021-11-02

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - TokuDB
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Sergey Vojtovich Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None

Epic Link: AliSQL patches

 Description   

AliSQLBackup depends on tokudb_checkpoint_lock to implement hot backup, but
invoking ft_close() to a FT file during backup will break the consistency
between this FT and the others in the final backup directory, even when
checkpoint lock is held, becasue the header of FT is updated by ft_close().
 
This patch checks whether we are in backup before closing FT, if in backup,
don't close FT.

https://github.com/alibaba/AliSQL/commit/584cb3525568644a5f0478de0463d00d1d0f6d1b



 Comments   
Comment by Marko Mäkelä [ 2021-11-02 ]

TokuDB was removed in MDEV-19780.

Generated at Thu Feb 08 07:49:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.