diff --git a/Documentation/MaxScale Configuration And Usage Scenarios-Z3.pdf b/Documentation/MaxScale Configuration And Usage Scenarios-Z3.pdf index 9b5d7679d..58c915371 100644 Binary files a/Documentation/MaxScale Configuration And Usage Scenarios-Z3.pdf and b/Documentation/MaxScale Configuration And Usage Scenarios-Z3.pdf differ diff --git a/server/MaxScale_template.cnf b/server/MaxScale_template.cnf index 4b198dfb4..c72e74575 100644 --- a/server/MaxScale_template.cnf +++ b/server/MaxScale_template.cnf @@ -51,7 +51,9 @@ passwd=maxpwd # enable_root_user=<0 or 1, default is 0> # version_string= -# +# +# read_ses_variables_from_slaves= Default is Yes +# write_ses_variables_to_all= Default is No # router_options=,,... # where value=[master|slave|synced] # diff --git a/server/modules/include/readwritesplit.h b/server/modules/include/readwritesplit.h index b2d3d7244..d56e25a85 100644 --- a/server/modules/include/readwritesplit.h +++ b/server/modules/include/readwritesplit.h @@ -119,7 +119,7 @@ typedef enum select_criteria { #define CONFIG_MAX_SLAVE_CONN 1 #define CONFIG_MAX_SLAVE_RLAG -1 /*< not used */ #define CONFIG_READ_SESVARS_FROM_SLAVES false -#define CONFIG_WRITE_SESVARS_TO_ALL false +#define CONFIG_WRITE_SESVARS_TO_ALL true #define GET_SELECT_CRITERIA(s) \ (strncmp(s,"LEAST_GLOBAL_CONNECTIONS", strlen("LEAST_GLOBAL_CONNECTIONS")) == 0 ? \