[MXS-1088] Can't hint queries to slaves Created: 2017-01-25 Updated: 2017-12-01 Resolved: 2017-02-27 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | hintfilter |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | 2.0.3, 2.1.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | markus makela | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-28 |
| Description |
|
You can hint queries to master but not to slave. This should be possible: SELECT 1; – maxscale route to slave |
| Comments |
| Comment by Esa Korhonen [ 2017-02-27 ] |
|
According to tests, the hint is parsed and used by at least readwritesplit router. // routes to slave When using these commands in a client, make sure the hint is included in the same statement as the "SELECT". Some clients may automatically split them. |