diff options
author | Andrei Elkin <andrei.elkin@mariadb.com> | 2018-02-09 15:00:23 +0200 |
---|---|---|
committer | Andrei Elkin <andrei.elkin@mariadb.com> | 2018-03-13 12:46:07 +0200 |
commit | 30019a48bfc908d8842b4cd03aad4c80dc5c7134 (patch) | |
tree | 409e8a312812e145d73b1e8d4ac9dd9153815074 /mysql-test/r/shutdown.result | |
parent | 76ae6e725d647fae8a00e0cac71cdc73f66e41d0 (diff) | |
download | mariadb-git-30019a48bfc908d8842b4cd03aad4c80dc5c7134.tar.gz |
MDEV-12746 rpl.rpl_parallel_optimistic_nobinlog fails committing
out of order at retry
The test failures were of two sorts. One is that the number of retries
what the slave thought as a temporary error exceeded
the default value of the slave retry option.
The 2nd issue was an out of order commit by transactions that
were supposed to error out instead.
Both issues are caused by the same reason that the post-temporary-error
retry did not check possibly already existing error status.
This is mended with refining conditions to retry. Specifically, a retrying
worker checks `rpl_parallel_entry::stop_on_error_sub_id` that
a potential failing predecessor could set to its own sub id.
Now should the member be set the retrying follower errors out with
ER_PRIOR_COMMIT_FAILED.
Diffstat (limited to 'mysql-test/r/shutdown.result')
0 files changed, 0 insertions, 0 deletions