[MXS-2631] Duplicate tables found, but it's system tables (information_schema.*, mysql.*) Created: 2019-08-13 Updated: 2020-08-25 Resolved: 2019-08-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | schemarouter |
| Affects Version/s: | 2.3.11 |
| Fix Version/s: | 2.3.12, 2.4.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nicolas De Amicis | Assignee: | Marko Rajala (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
SLES 15 SP1, x86_64 |
||
| Attachments: |
|
| Sprint: | MXS-SPRINT-89 |
| Description |
|
This configuration runs in MaxScale 2.3.5 but with the error "Duplicate tables found" on 2.3.11. Those duplicate tables are the system tables:
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2019-08-22 ] | |||||||||||||
|
I can see that MaxScale is supposed to ignore these databases by default: But it does not appear to be working:
It looks like the problem is that MaxScale is passing "databaseName.tableName" to the ignore_duplicate_database() function, and it is comparing that against the set of databases to always ignore. For this to work properly, it needs to extract the database name from the "databaseName.tableName" string before it does the comparison. This was probably broken by this commit: https://github.com/mariadb-corporation/MaxScale/commit/fbeb5d9c84c35f09088464cc2d049cbc3a089f88 |