You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to proxysql
Hello.
I'm running into an issue I cannot seem to resolve.
1. ProxySQL is deployed in Kubernetes (3 pods)
2. The nodes can clearly talk to one another.
This is showing up in the logs:
proxysql-staging-2-2 proxysql 2023-11-06 22:46:28 ProxySQL_Cluster.cpp:653:set_checksums(): [WARNING] Cluster: detected a peer proxysql-1.proxysqlcluster:6032 with mysql_servers version 1, epoch 1698968621, diff_check 6450. Own version: 1, epoch: 1699304334. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master. proxysql-staging-2-2 proxysql 2023-11-06 22:46:28 ProxySQL_Cluster.cpp:716:set_checksums(): [WARNING] Cluster: detected a peer proxysql-1.proxysqlcluster:6032 with mysql_variables version 1, epoch 1698968621, diff_check 6450. Own version: 1, epoch: 1699304334. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master. proxysql-staging-2-0 proxysql 2023-11-06 22:46:29 ProxySQL_Cluster.cpp:653:set_checksums(): [WARNING] Cluster: detected a peer proxysql-0.proxysqlcluster:6032 with mysql_servers version 1, epoch 1698968632, diff_check 6480. Own version: 8, epoch: 1699310776. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master. proxysql-staging-2-0 proxysql 2023-11-06 22:46:29 ProxySQL_Cluster.cpp:716:set_checksums(): [WARNING] Cluster: detected a peer proxysql-0.proxysqlcluster:6032 with mysql_variables version 1, epoch 1698968632, diff_check 6480. Own version: 5, epoch: 1699310776. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.
I jumped on proxysql-staging-2-0 (which has the desired configuration) and executed:
LOAD ADMIN VARIABLES TO RUNTIME;
LOAD MYSQL VARIABLES TO RUNTIME;
LOAD MYSQL USERS TO RUNTIME;
LOAD MYSQL SERVERS TO RUNTIME;
The error continues. The documentation doesn't seem to offer any real troubleshooting steps beyond, "Execute LOAD ... on the instance with the highest version and epoch."
proxysql-staging-2-0 has the highest version and epoch of all 3 instances.
-G
René Cannaò
unread,
Nov 6, 2023, 6:17:11 PM11/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Geoff Winans, proxysql
Hi Geoff,
What you executed is all you needed to perform.
"The error continues" : show it please.
You are reporting the messages before you intervened , but you aren't showing what happened when you intervened, and what happened after.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to René Cannaò, proxysql
The only change was incrementing proxysql-2-0's versions for 'MYSQL VARIABLES' and 'MYSQL USERS'.
Otherwise, the messages are the same.
----
proxysql-staging-2-2 proxysql 2023-11-06 23:24:02 ProxySQL_Cluster.cpp:653:set_checksums(): [WARNING] Cluster: detected a peer proxysql-1.proxysqlcluster:6032 with mysql_servers version 1, epoch 1698968621, diff_check 1170. Own version: 1, epoch: 1699304334. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master. proxysql-staging-2-2 proxysql 2023-11-06 23:24:02 ProxySQL_Cluster.cpp:716:set_checksums(): [WARNING] Cluster: detected a peer proxysql-1.proxysqlcluster:6032 with mysql_variables version 1, epoch 1698968621, diff_check 1170. Own version: 1, epoch: 1699304334. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.
---
proxysql-staging-2-0 proxysql 2023-11-06 23:24:09 ProxySQL_Cluster.cpp:653:set_checksums(): [WARNING] Cluster: detected a peer proxysql-0.proxysqlcluster:6032 with mysql_servers version 1, epoch 1698968632, diff_check 1200. Own version: 11, epoch: 1699313024. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.
proxysql-staging-2-0 proxysql 2023-11-06 23:24:09 ProxySQL_Cluster.cpp:716:set_checksums(): [WARNING] Cluster: detected a peer proxysql-0.proxysqlcluster:6032 with mysql_variables version 1, epoch 1698968632, diff_check 1200. Own version: 8, epoch: 1699313024. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every 30 checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.
René Cannaò
unread,
Nov 6, 2023, 6:37:41 PM11/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Geoff Winans, proxysql
Hi Geoff,
"but you aren't showing what happened when you intervened" : I still don't see it...
I recommend to attach all the logs from all the relevant nodes, including the logs of the other nodes : did they sync? Yes, no? Why?
Geoff Winans
unread,
Nov 6, 2023, 7:15:54 PM11/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
The other two nodes show no log activity when I execute "LOAD ..." on proxysql-staging-2-0. No acknowledgement other than the warning repeating with the update version value from proxysql-0
Is there a way I can determine which node(s) an instance "thinks" are candidate masters?
Geoff Winans
unread,
Nov 6, 2023, 7:37:12 PM11/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to René Cannaò, proxysql
Ah hah. This was a goof on my side related to the kubernetes hostnames.