[MXS-193] Router and Filter based on canonical form Created: 2015-06-12 Updated: 2017-03-20 Resolved: 2017-03-20 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Maintain on disk a list of dynamic canonical query to multiplex, route or filter In memory a structure should store in LRU all ever seen template since startup + templates pin by user maxadmin user would add rules like SHOW TEMPLATES FILTER TEMPLATE 12 rule matching can be done via a search hash of pinned template for current hash of current query template |
| Comments |
| Comment by markus makela [ 2015-07-20 ] | ||||||
|
I've made a very simple testing filter on the This module needs the readwritesplit router to work. Here is a small example of a rule file:
Current testing implementation does not break replication which means that data modifying statements will always be routed to the master. This can be changed by adding a configuration parameter to readwritesplit. The real implementation could be configurable via maxadmin. | ||||||
| Comment by Johan Wikman [ 2017-03-20 ] | ||||||
|
Namedserverfilter and hintrouter will in 2.2 provide roughly this functionality. |