[MXS-112] Disable saving of session commands in the readwritesplit and schemarouter modules Created: 2015-04-23 Updated: 2017-12-01 Resolved: 2015-04-23 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.1 |
| Type: | New Feature | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Adding a router option for the readwritesplit and schemarouter needs to be added that disables the storing of session commands. This will disable slave recovery but will reduce the memory consumption of both modules. With this change failed slave servers in the readwritesplit router will be treated as valid servers. Other option is to disable the slave completely for the rest of the session. |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2015-04-23 ] |
|
What will be the new option called and what will be valid values for this option ? |
| Comment by markus makela [ 2015-04-23 ] |
|
something along the lines of sescmd_history=<boolean> |
| Comment by Dipti Joshi (Inactive) [ 2015-04-23 ] |
|
Your statement "With this change failed slave servers in the readwritesplit router will be treated as valid servers. Other option is to disable the slave completely for the rest of the session." - What is the new option for "disable the slave completely for the rest of the session." - " |
| Comment by markus makela [ 2015-04-23 ] |
|
it could be done with a single variable that disables slave recovery. This combined with the other option should allow people to choose what to use. The variable can be something like disable_slave_recovery=<boolean> |
| Comment by markus makela [ 2015-05-13 ] |
|
Documentation can be found here: https://github.com/mariadb-corporation/MaxScale/blob/develop/Documentation/routers/ReadWriteSplit.md |
| Comment by Timofey Turenko [ 2015-05-13 ] |
|
it can be tested only in long lasting tests which are not yet implemented. Checked manually: no crash or error when new options are included into configuration file. Closing this improvement request. In case of problem in long lasting test a new bug will be reported. |