A quick fix, with little interference with rest of the code, has been committed.
There is new THD variable for telling if autocommit retry can be tried for this session.
THD::wsrep_retry_autocommit is set before dispatch_command().
A larger refactoring of aborting state model could also be considered.
A quick fix, with little interference with rest of the code, has been committed.
There is new THD variable for telling if autocommit retry can be tried for this session.
THD::wsrep_ retry_autocommi t is set before dispatch_command().
A larger refactoring of aborting state model could also be considered.