• Vlad Lesin's avatar
    MDEV-22554: "mariabackup --prepare" exits with code 0 even though innodb · 0f9bfcc3
    Vlad Lesin authored
    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.
    0f9bfcc3
os0file.cc 180 KB