-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS
Synchronous read view should not be needed for SHOW commands.
- Loading branch information
Nirbhay Choubey
committed
Jan 1, 2015
1 parent
96e505e
commit 25aaa65
Showing
7 changed files
with
36 additions
and
4 deletions.
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,11 @@ | ||
# | ||
# MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS | ||
# | ||
SHOW STATUS LIKE 'wsrep_ready'; | ||
Variable_name Value | ||
wsrep_ready ON | ||
SHOW STATUS LIKE 'wsrep_ready'; | ||
Variable_name Value | ||
wsrep_ready OFF | ||
SET @@global.wsrep_cluster_address='gcomm://'; | ||
# End of test. |
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
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 @@ | ||
--wsrep-provider=$WSREP_PROVIDER --wsrep-cluster-address=gcomm:// --wsrep_provider_options='base_port=$GALERA_BASE_PORT' --wsrep-on=1 --wsrep_causal_reads=ON |
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,15 @@ | ||
--source include/have_wsrep_provider.inc | ||
--source include/have_binlog_format_row.inc | ||
|
||
--echo # | ||
--echo # MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS | ||
--echo # | ||
|
||
SHOW STATUS LIKE 'wsrep_ready'; | ||
--disable_query_log | ||
eval SET @@global.wsrep_provider='$WSREP_PROVIDER'; | ||
--enable_query_log | ||
SHOW STATUS LIKE 'wsrep_ready'; | ||
SET @@global.wsrep_cluster_address='gcomm://'; | ||
|
||
--echo # End of test. |
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
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
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