MXS-2518 Document Clustrix and slave_selection_criteria
This commit is contained in:
parent
0b10b27ffd
commit
f478386e47
@ -150,6 +150,7 @@ user=maxscale
|
||||
password=maxscale
|
||||
cluster=Clustrix-Service
|
||||
transaction_replay=true
|
||||
slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS
|
||||
```
|
||||
With this configuration, subject to the boundary conditions of
|
||||
transaction replaying, a client will neither notice group change
|
||||
@ -157,6 +158,11 @@ events nor the disappearance of the very node the client is connected
|
||||
to. In that latter case, MaxScale will simply connect to another node
|
||||
and replay the current transaction (if one is active).
|
||||
|
||||
**NOTE** It is vital to have
|
||||
`slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS`, as otherwise
|
||||
connections will **not** be distributed evenly across all Clustrix
|
||||
nodes.
|
||||
|
||||
For detailed information about the transaction replay functionality,
|
||||
please refer to the _readwritesplit_
|
||||
[documentation](../Routers/ReadWriteSplit.md#transaction_replay).
|
||||
|
Loading…
x
Reference in New Issue
Block a user