From 3030d6f39892fbf93bae7712aa7827752c8d5797 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Mon, 11 Jan 2016 17:34:36 +0200 Subject: [PATCH] Moved description of `weightby` to the correct section. The description was in router options instead of optional parameters. --- Documentation/Routers/ReadWriteSplit.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/Routers/ReadWriteSplit.md b/Documentation/Routers/ReadWriteSplit.md index 11ace959a..83076955d 100644 --- a/Documentation/Routers/ReadWriteSplit.md +++ b/Documentation/Routers/ReadWriteSplit.md @@ -77,6 +77,14 @@ When value all is used, queries reading session variables can be routed to any a In above-mentioned case the user-defined variable would only be updated in the master where query would be routed due to `INSERT` statement. +### `weightby` + +This parameter defines the name of the value which is used to calculate the +weights of the servers. The value should be the name of a parameter in the +server definitions and it should exist in all the servers used by this router. +For more information, see the description of the `weightby` parameter in +the [Configuration Guide](../Getting-Started/Configuration-Guide.md). + ## Router options **`router_options`** may include multiple **readwritesplit**-specific options. All the options are parameter-value pairs. All parameters listed in this section must be configured as a value in `router_options`. @@ -135,14 +143,6 @@ disable_sescmd_history=true master_accept_reads=true ``` -### `weightby` - -This parameter defines the name of the value which is used to calculate the -weights of the servers. The value should be the name of a parameter in the -server definitions and it should exist in all the servers used by this router. -For more information, see the description of the `weightby` parameter in -the [Configuration Guide](../Getting-Started/Configuration-Guide.md). - ## Routing hints The readwritesplit router supports routing hints. For a detailed guide on hint syntax and functionality, please read [this](../Reference/Hint-Syntax.md) document.