|
One possible theory is that the caching of the SHOW DATABASES results and the subsequent use of the cached results can assign the database to a different server than it would be assigned to if the reuse of the result wasn't done. This can happen if session 1 stores the result from servers A, B and C which session 2 then later reuses with servers A and C. If a database is assigned to server B, session 2 would not send the USE to server A even though it has it.
This problem is only possible when the namedserverfilter is used to forcibly redirect queries to particular servers.
This particular problem would be solved by MXS-2793 where the cached data contains the database locations of all servers.
|