[MXS-70] Allow configuring modules dynamically without process restart Created: 2015-03-27 Updated: 2016-10-17 Resolved: 2016-10-17 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | Dipti Joshi (Inactive) | Assignee: | markus makela |
| Resolution: | Won't Do | Votes: | 2 |
| Labels: | dynamic_configuration | ||
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Description |
|
Today in order have a filter module or router module configuration to take into effect, a user have to
which means all the existing client and server connections get dropped. In production environment this is not usable approach to have to restart MaxScale for every filter configuration change. A mechanism to dynamically change filter or any other module configuration without restarting maxscale is needed. This came across when @Kolbe Kegel tried to change firewall filter rules and reload it. Proposal is t that "each plugin has its own set of actions and information that should be exposed via an API. Some plugins might want to expose and implement a "reload" method so that their configuration can be reloaded." Along with this corresponding maxadmin command should also be added. |
| Comments |
| Comment by markus makela [ 2015-05-01 ] |
|
This would be the optimal place to do some module API modifications. The reloading of modules could be implemented by creating module unloading points to each interface. Adding module-specific function calls could be implemented by callback registration to a core MaxScale service. |
| Comment by Dipti Joshi (Inactive) [ 2015-05-13 ] |
|
Massimiliano Pinto Please log work, so remaining estimate gets updated |
| Comment by Massimiliano Pinto (Inactive) [ 2015-05-14 ] |
|
A new server is added to server lists in service but not in monitor |
| Comment by Massimiliano Pinto (Inactive) [ 2015-05-14 ] |
|
A new server "server_33" added into MaxScale.cnf is not seen by show servers, after reload config MaxScale> reload config we should see "server_33" instead Resolved in 'develop' by adding server_set_unique_name() |
| Comment by Dipti Joshi (Inactive) [ 2015-05-20 ] |
|
Massimiliano Pinto , Markus Makela Please log work, so remaining estimate gets updated |
| Comment by Dipti Joshi (Inactive) [ 2015-06-02 ] |
|
markus makela, Here is the priority list of filters (1) firewall, regex, qla Routers: Monitor: |
| Comment by Dipti Joshi (Inactive) [ 2015-06-04 ] |
|
markus makela Can we put link to test cases here ? |
| Comment by markus makela [ 2015-06-11 ] |
|
test cases: https://docs.google.com/spreadsheets/d/1zTtk34nbhtLxSW6X4VjiSPk6673YJgNGjWCes1EOwuM/edit?usp=sharing |
| Comment by Timofey Turenko [ 2015-06-12 ] |
|
(gdb) bt It was slave_lag test, very first step: 11: Creating test table |
| Comment by Dipti Joshi (Inactive) [ 2015-06-17 ] |
|
markus makela Is there any configuration changes that we need to document for this ? |
| Comment by Timofey Turenko [ 2015-06-18 ] |
|
7 new crashes: |
| Comment by Timofey Turenko [ 2015-06-18 ] |
|
passed/failed cases: http://jenkins.engskysql.com/CDash/viewTest.php?onlyfailed&buildid=77 |
| Comment by Dipti Joshi (Inactive) [ 2015-08-10 ] |
|
markus makela Can you share the documentation update links ? |
| Comment by markus makela [ 2015-09-01 ] |
|
Here's a link to the updated documentation page: https://github.com/mariadb-corporation/MaxScale/blob/MXS-70/Documentation/Documentation-Contents.md |
| Comment by markus makela [ 2016-10-17 ] |
|
This implementation of dynamic configuration reloading is not usable. Any future versions should filed under a new issue. |