-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProxySQL Switchover Fails on First LOAD MYSQL SERVERS TO RUNTIME Execution, Succeeds on Second #4750
Comments
And according to the error log ... |
ProxySQL Logs (re-tested, 2 cases)Switchover Attempt (Single LOAD MYSQL SERVERS TO RUNTIME)
Command
Output
ProxySQL Log!! There is 1h diff between parent host (CET) and docker container (UTC)
Switchover Attempt (Double LOAD MYSQL SERVERS TO RUNTIME)
Command
Output
ProxySQL Log!! There is 1h diff between parent host (CET) and docker container (UTC)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description:
ProxySQL
LOAD MYSQL SERVERS TO RUNTIME
Requires Multiple Executions for Switchover to Take EffectIssue
When updating the mysql_servers table to perform a switchover in ProxySQL, the expected changes do not fully take effect after executing LOAD MYSQL SERVERS TO RUNTIME a single time. The switchover works only if LOAD MYSQL SERVERS TO RUNTIME is executed twice, which is not the expected behavior.
ProxySQL Environment
Configuration
Basic configuration for
mysql_servers
andmysql_galera_hostgroups
:Apply Basic Configuration:
Switchover:
LOAD MYSQL SERVERS TO RUNTIME
.LOAD MYSQL SERVERS TO RUNTIME
. Only after a secondLOAD MYSQL SERVERS TO RUNTIME
is issued do the changes take effect.Switchover Attempt (Single LOAD MYSQL SERVERS TO RUNTIME)
Check current configuration
Run Switchover and Check Configuration
Switchover Attempt (Double LOAD MYSQL SERVERS TO RUNTIME)
Check current configuration
Run Switchover and Check Configuration
Outcome
With two executions of LOAD MYSQL SERVERS TO RUNTIME, the switchover completes successfully, with galera2 promoted as expected.
Summary
ProxySQL requires two LOAD MYSQL SERVERS TO RUNTIME commands for a switchover to take effect, contrary to the expected behavior where one command should be sufficient. This behavior persists across both ProxySQL 2.5.5 and 2.7.1, in Docker images as well.
The text was updated successfully, but these errors were encountered: