• Daniele Sciascia's avatar
    MDEV-21613 Failed to open table mysql.wsrep_streaming_log for writing · 5527fc58
    Daniele Sciascia authored
    Fix sporadic failure for MTR test galera_sr.GCF-1018B. The test
    sometimes fails due to an error that is logged to the error log
    unnecessarily.
    A deterministic test case (included in this patch) shows that the
    error is loggen when a transaction is BF aborted right before  it
    opens the streaming log table to perform fragment removal. When that
    happens, the attempt to open the table fails and consequently an error
    is logged. There is no need to log this error, as an ER_LOCK_DEADLOCK
    error is returned to the client.
    Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
    5527fc58
MDEV-21613.test 930 Bytes