• Daniele Sciascia's avatar
    Make test galera_parallel_apply_3nodes deterministic · 60035bd2
    Daniele Sciascia authored
    Test galera_parallel_apply_3nodes started to failed occasionally.
    The test assumes that one round of autocommit retry is sufficient in
    order to avoid a deadlock error when two conflicting UPDATE statements
    run concurrently.
    This assumption no longer holds after galera library has changed
    last_committed() to return the seqno of the last transaction that left
    apply monitor, rather than commit monitor. So it is possible that
    after a BF abort, a command is re-executed before it's BF abortee has
    left the apply monitor. Thus causing another retry or a deadlock error.
    Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
    60035bd2
galera_parallel_apply_3nodes.test 1.96 KB