1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-7476: Allow SELECT to succeed even when node is not ready

Added a SESSION-only system variable "wsrep_dirty_reads" to allow SELECT
queries to pass even when the node is not prepared to accept queries
(wsrep_ready=OFF). Added a test case.
This commit is contained in:
Nirbhay Choubey
2015-01-22 18:00:37 -05:00
parent ab440b0fb7
commit 0105bf349a
12 changed files with 175 additions and 5 deletions

View File

@ -647,6 +647,7 @@ typedef struct system_variables
my_bool wsrep_on;
my_bool wsrep_causal_reads;
my_bool wsrep_dirty_reads;
uint wsrep_sync_wait;
ulong wsrep_retry_autocommit;
double long_query_time_double, max_statement_time_double;