MXS-1752: Clarify router behavior
Amended the documentation to specify the exact behavior of the router when non-resultset results are returned.
This commit is contained in:
@ -15,8 +15,12 @@ parameter of the service. The result will only be completed once all servers
|
|||||||
have executed this.
|
have executed this.
|
||||||
|
|
||||||
All commands executed via this router will be executed on all servers. This
|
All commands executed via this router will be executed on all servers. This
|
||||||
means that an INSERT through the `cat` router will send it to all servers. As
|
means that an INSERT through the `cat` router will send it to all servers. In
|
||||||
the intended use-case of the router is to mainly reduce multiple result sets
|
the case of commands that do not return resultsets, the response of the last
|
||||||
|
server is sent to the client. This means that if one of the earlier servers
|
||||||
|
returns a different result, the client will not see it.
|
||||||
|
|
||||||
|
As the intended use-case of the router is to mainly reduce multiple result sets
|
||||||
into one, it has no mechanisms to prevent writes from being executed on slave
|
into one, it has no mechanisms to prevent writes from being executed on slave
|
||||||
servers (which would cause data corruption or replication failure). Take great
|
servers (which would cause data corruption or replication failure). Take great
|
||||||
care when performing administrative operations though this router.
|
care when performing administrative operations though this router.
|
||||||
|
Reference in New Issue
Block a user