After taking out a node from a 3-node cluster and adding it back, cluster becomes unstable with the following symptoms:
The node just added, node A shows up as out of sync and replication is missing
The present article describes how such a situation may occur for a working three node cluster
PAM 4.2.x
2 node cluster
The operation may fail due to a combination of connection timeouts and ProxySQL state management logic.
Unfortunately, continuously waiting for node to became available to move further is a default requirement for proxysql, so there us no control on this other than meeting the requirements of having nodes reachable, which does not happen
Following errors will be seen in the MySQL logs
2026-05-14 07:32:55 MySQL_Session.cpp:2823:handler_again___status_CONNECTING_SERVER(): [ERROR] Max connect timeout reached while reaching hostgroup 2 after 10000ms . HG status: [{"srv_host":"<node_B>","status":"OFFLINE_HARD"},{"srv_host":"<node_A>","status":"SHUNNED"}]
2026-05-14 07:34:54 MySrvC.cpp:127:connect_error(): [ERROR] Shunning server <node_A>:3307 with 5 errors/sec. Shunning for 10 seconds
2026-05-14 07:34:54 MySQL_Session.cpp:2823:handler_again___status_CONNECTING_SERVER(): [ERROR] Max connect timeout reached while reaching hostgroup 2 after 11362ms . HG status:
2026-05-14 07:34:56 mysql_connection.cpp:1238:handler(): [ERROR] Failed to mysql_real_connect() on 2:<node_A>:3307 ... 2026: TLS/SSL error: self-signed certificate in certificate chain.
2026-05-14 07:35:22 mysql_connection.cpp:1238:handler(): [ERROR] Failed to mysql_real_connect() on 2:<node_A>:3307 , FD (Conn:803 , MyDS:803) , 2026: TLS/SSL error: self-signed certificate in certificate chain.
2026-05-14 08:51:31 mysql_connection.cpp:1238:handler(): [ERROR] Failed to mysql_real_connect() on 2:<node_A>:3307 , FD (Conn:170 , MyDS:170) , 2026: TLS/SSL error: self-signed certificate in certificate chain.
Node addition is a common process and we don't expect any issues, in this case the root cause is connectivity failure for a prolonged time caused primary node to left in a state where there were no writer available to serve the requests. When joining a cluster, the joining node (e.g. nopde A) must stop Tomcat (web/CSPM) and the Credential Manager to reload MySQL and clone the master database. Temporary interruption on the joining node is normal, also reload of mysql groupreplication data by proxysql, there is not service down here just a reload.
Please note that there is a configurable safety timer (GROUP_REPLICATION_QUORUM_TIMEOUT) designed to prevent over-reaction to transient blips. If the writer group does no recover within 5 minutes, as is the case here, it will enter a quorum loss situation.
This is a rare situation which has occurred because of the combination of the factors outlined in the Cause section, and therefore it should not be a usual situation
The following best practices are recommended