[MXS-4966] mariadb-dump gets an error dumping schemas Created: 2024-02-04 Updated: 2024-02-05 |
|
| Status: | Open |
| Project: | MariaDB MaxScale |
| Component/s: | None |
| Affects Version/s: | 23.08.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Oli Sennhauser | Assignee: | markus makela |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | maxscale, schemarouter | ||
| Environment: |
Linux n.a. |
||
| Issue Links: |
|
||||||||
| Description |
|
If I run the mariadb-dump command via MaxScale I get an error on all Schemas which are NOT located on the first shard: mariadb-dump --user=app --password=secret --host=10.153.125.219 --port=3306 --single-transaction customer_0010 > /tmp/customer_0010.sql mariadb-dump --user=app --password=secret --host=10.153.125.219 --port=3306 --single-transaction --databases customer_0011 > /tmp/customer_0011.sql customer_001? are on the first shard customer_002? on the second and so on... I did not find anything in the docu prohibiting this... |
| Comments |
| Comment by markus makela [ 2024-02-04 ] |
|
This could be some interaction between how things like SHOW DATABASES and SHOW TABLES IN <db> are processed by the schemarouter. I'll try and reproduce this locally. |
| Comment by markus makela [ 2024-02-05 ] |
|
Looking at the SQL being generated by mariadb-dump, I think that |