You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently MySQL_Connection::MultiplexDisabled() returns true if any variable of an internal set of variables is enabled, or if auto_increment_delay_token is evaluated.
We should also evaluate SERVER_STATUS_IN_TRANS in the backend connection, and last_errno .
Probably we can just call IsActiveTransaction() .
This will make troubleshooting easier.
Note: we should also remove any reference to STATUS_MYSQL_CONNECTION_TRANSACTION as it is deprecated.
The text was updated successfully, but these errors were encountered:
In the output of PROXYSQL INTERNAL SESSION and stats_mysql_processlist.extended_info ,
MultiplexDisabled was only returning the output of MySQL_Connection::MultiplexDisabled() .
If there was a transaction, or an error, multiplexing was disabled but MultiplexDisabled() was
still reporting false. Therefore it was necessary to also check server_status flag and last_errno.
This commits intruduces MultiplexDisabled_ext , that reports the output of:
MySQL_Connection::MultiplexDisabled() || MySQL_Connection::isActiveTransaction()
This should make troubleshooting easier.
Also, removed any reference to deprecated STATUS_MYSQL_CONNECTION_TRANSACTION .
Closes#4241
Currently
MySQL_Connection::MultiplexDisabled()
returnstrue
if any variable of an internal set of variables is enabled, or ifauto_increment_delay_token
is evaluated.We should also evaluate
SERVER_STATUS_IN_TRANS
in the backend connection, andlast_errno
.Probably we can just call
IsActiveTransaction()
.This will make troubleshooting easier.
Note: we should also remove any reference to
STATUS_MYSQL_CONNECTION_TRANSACTION
as it is deprecated.The text was updated successfully, but these errors were encountered: