[MXS-2702] Session command with lazy_connect causes master to be "lost" Created: 2019-09-26 Updated: 2020-08-25 Resolved: 2019-10-03 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 2.4.2 |
| Fix Version/s: | 2.4.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When the first query executed by a session configured with lazy_connect is SET autocommit=0, a connection to the master server is created. The connection creation code which picks a server to use does not update the current master server pointer if the selected server is a master. As a result of this, queries will fail and the session will be closed. |