From ae39262dd523ef81edf8f6177924f8405059fe3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 8 Feb 2017 15:20:29 +0200 Subject: [PATCH] Add changes to router_options to release notes Added a section to the release notes that tells the fact that the readwritesplit, schemarouter and binlogrouter now also accept the values of router_options as parameters. --- .../MaxScale-2.1.0-Release-Notes.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md b/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md index 5afd369bf..bb88c7684 100644 --- a/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md +++ b/Documentation/Release-Notes/MaxScale-2.1.0-Release-Notes.md @@ -10,6 +10,38 @@ report at [Jira](https://jira.mariadb.org). ## Changed Features +### `router_options` to Parameters + +The `router_options` values can also be given as parameters to the service for +the _readwritesplit_, _schemarouter_ and _binlogrouter_ modules. + +What this means is that in MaxScale 2.1 the following _readwritesplit_ +configration. + +``` +[RW Split Router] +type=service +router=readwritesplit +servers=server1 +user=maxuser +passwd=maxpwd +router_options=slave_selection_criteria=LEAST_ROUTER_CONNECTIONS,max_sescmd_history=10,disable_sescmd_history=false +``` + +Can also be written in the following form. + +``` +[RW Split Router] +type=service +router=readwritesplit +servers=server1 +user=maxuser +passwd=maxpwd +slave_selection_criteria=LEAST_ROUTER_CONNECTIONS +max_sescmd_history=10 +disable_sescmd_history=false +``` + ### Configuration Files From 2.1.0 onwards MariaDB MaxScale supports hierarchical configuration