[MDEV-22468] BACKUP STAGE BLOCK_COMMIT should block commit in the Aria engine Created: 2020-05-05  Updated: 2020-05-26  Resolved: 2020-05-26

Status: Closed
Project: MariaDB Server
Component/s: mariabackup, Storage Engine - Aria
Fix Version/s: 10.5.4

Type: Task Priority: Major
Reporter: Michael Widenius Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-22531 Remove maria::implicit_commit() Closed

 Description   

BACKUP STAGE BLOCK_COMMIT doesn't block changes to Aria tables.
This can cause problems when running mariabackup.

CREATE TABLE t_permanent_aria (col1 INT) ENGINE = Aria transactional=1;
BACKUP STAGE START;
BACKUP STAGE BLOCK_COMMIT;
INSERT INTO t_permanent_aria values(1);

The above should block, but doesn't.



 Comments   
Comment by Michael Widenius [ 2020-05-26 ]

Pushed into 10.5
This commit can be ported to earlier MariaDB versions if needed
In 10.5 this code will be overwritten by MDEV-22531

Generated at Thu Feb 08 09:14:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.