commit 0f9bfcc323f76389eab23220d757e1cdfacb0543
|
Author: Vlad Lesin …
|
Date: Wed May 13 14:32:12 2020 +0300
|
|
MDEV-22554: "mariabackup --prepare" exits with code 0 even though innodb
|
error is logged
|
|
The fix is to set flag in ib::error::~error() and check it in
|
mariabackup.
|
|
ib::error::error() is replaced with ib::warn::warn() in
|
AIO::linux_create_io_ctx() because of two reasons:
|
|
1) if we leave it as is, then mariabackup MTR tests will fail with --mem
|
option, because Linux AIO can not be used on tmpfs,
|
|
2) when Linux AIO can not be initialized, InnoDB falls back to simulated
|
AIO, so such sutiation is not fatal error, it should be treated as warning.
|