diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-10-14 15:28:16 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-10-14 15:28:16 +0200 |
commit | 2842f6b5dc254c82aa3dc976cd5bd3645dc82a60 (patch) | |
tree | adefb3cd2b2e5e1f41652d12cc597929f55f80d0 /sql/share | |
parent | 2e100cc5a493b6a0f6f907e0483a734c7fee2087 (diff) | |
download | mariadb-git-2842f6b5dc254c82aa3dc976cd5bd3645dc82a60.tar.gz |
MDEV-4506: Parallel replication: error handling.
Add an error code to the wait_for_commit facility.
Now, when a transaction fails, it can signal the error to
any subsequent transaction that is waiting for it to commit.
The waiting transactions then receive the error code back from
wait_for_prior_commit() and can handle the error appropriately.
Also fix one race that could cause crash if @@slave_parallel_threads
were changed several times quickly in succession.
Diffstat (limited to 'sql/share')
-rw-r--r-- | sql/share/errmsg-utf8.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt index 85baddd3c49..51bc7eaf93d 100644 --- a/sql/share/errmsg-utf8.txt +++ b/sql/share/errmsg-utf8.txt @@ -6557,3 +6557,5 @@ ER_STORED_FUNCTION_PREVENTS_SWITCH_GTID_DOMAIN_ID_SEQ_NO eng "Cannot modify @@session.gtid_domain_id or @@session.gtid_seq_no inside a stored function or trigger" ER_CHANGE_SLAVE_PARALLEL_THREADS_ACTIVE eng "Cannot change @@slave_parallel_threads while another change is in progress" +ER_PRIOR_COMMIT_FAILED + eng "Commit failed due to failure of an earlier commit on which this one depends" |