[MDEV-24416] mariabackup exits with "completed OK" after serious error Created: 2020-12-15  Updated: 2021-06-19  Resolved: 2021-06-19

Status: Closed
Project: MariaDB Server
Component/s: mariabackup
Affects Version/s: 10.5.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Rick Pizzi Assignee: Rick Pizzi
Resolution: Incomplete Votes: 0
Labels: need_feedback


 Description   

Restoring a corrupted incremental I properly get an error (see above) but then mariabackup prints "completed OK" which is not corrrect as the error doesn't get flagged by the backup software.

Please ensure MariaBackup exits after printing that error without printing "OK"

Thanks
Rick

[00] 2020-12-15 18:51:55 Last binlog file ./mariadb-bin.000439, position 6239
[00] 2020-12-15 18:51:55 mariabackup: error: The log was only applied up to LSN 15491603, instead of 16313045
[00] 2020-12-15 18:51:56 completed OK!


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