Merge branch '2.3' into 2.4

This commit is contained in:
Markus Mäkelä 2020-12-11 16:38:43 +02:00
commit 27a43fdf9d
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499
2 changed files with 8 additions and 3 deletions

View File

@ -478,8 +478,9 @@ even if the duration is longer than a second.
### `transaction_replay`
Replay interrupted transactions. This parameter was added in MaxScale 2.3.0 and
is disabled by default. Enabling this parameter implicitly enables both the
`delayed_retry` and `master_reconnection` parameters.
is disabled by default. Enabling this parameter enables both `delayed_retry` and
`master_reconnection` and sets `master_failure_mode` to `fail_on_write`, thereby
overriding any configured values for these parameters.
When the server where the transaction is in progress fails, readwritesplit can
migrate the transaction to a replacement server. This can completely hide the

View File

@ -200,7 +200,11 @@ void GaleraMonitor::update_server_status(MonitorServer* monitored_server)
/* Check if the the Galera FSM shows this node is joined to the cluster */
const char* cluster_member =
"SHOW STATUS WHERE Variable_name IN"
" SELECT * FROM ("
" SELECT * FROM information_schema.SESSION_STATUS"
" UNION"
" SELECT * FROM information_schema.SESSION_VARIABLES) AS t"
" WHERE Variable_name IN"
" ('wsrep_cluster_state_uuid',"
" 'wsrep_cluster_size',"
" 'wsrep_local_index',"