[MXS-4470] COM_INIT_DB isn't routed to all shards Created: 2023-01-04  Updated: 2023-01-08  Resolved: 2023-01-08

Status: Closed
Project: MariaDB MaxScale
Component/s: schemarouter
Affects Version/s: 2.5.23, 6.4.4, 22.08.3
Fix Version/s: 6.4.5, 22.08.4

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

A COM_INIT_DB command is only routed to a single backend that uses the database. If more than one shard contains the database in question, the default database of the remaining ones is left unmodified. Defining the default database while the connection is being created still works as expected, only a change of database while the connection is open suffers from this problem.


Generated at Thu Feb 08 04:28:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.