Skip to content

Commit d86a6a1

Browse files
Flush Aria WAL log before copying the log file.
1 parent 6c9520d commit d86a6a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

storage/maria/ma_backup.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ namespace
143143
return 1;
144144
if (copy_control_file())
145145
return 1;
146+
if(translog_flush(translog_get_horizon()))
147+
return 1;
146148
if (copy_logs())
147149
return 1;
148150
return 0;

0 commit comments

Comments
 (0)