Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-22443 wsrep::runtime_error on START TRANSACTION
This happens with global wsrep_on disabled and local wsrep_on enabled. The fix consists in avoiding sync wait when global wsrep_on is disabled.
- Loading branch information
Showing
4 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| SET SESSION wsrep_sync_wait=15; | ||
| SET SESSION wsrep_on=1; | ||
| START TRANSACTION READ WRITE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| !include ../my.cnf | ||
|
|
||
| [mysqld.1] | ||
| wsrep-on=OFF | ||
| binlog-format=ROW | ||
| wsrep-provider=none | ||
| wsrep-cluster-address='gcomm://' | ||
| innodb_autoinc_lock_mode=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # | ||
| # MDEV-22443: terminate called after throwing an instance of | ||
| # 'wsrep::runtime_error' in std::terminate on START TRANSACTION | ||
| # | ||
|
|
||
| --source include/have_innodb.inc | ||
| --source include/have_wsrep.inc | ||
| --source include/have_binlog_format_row.inc | ||
|
|
||
| SET SESSION wsrep_sync_wait=15; | ||
| SET SESSION wsrep_on=1; | ||
| START TRANSACTION READ WRITE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters