If you are using MySQL InnoDB Cluster (Group Replication) with
ProxySQL, you
should be familiar with the 2 functions and 1 view required in
SYS Schema
that ProxySQL uses to see if a node is online,
partitioned or not, and if it’s lagging or not (see link1 and link2).
I received recently a very valuable contribution from Bruce DeFrang that fixes a bug in one of the
function that were added to SYS
.
In fact, Bruce discovered that when a node was in
RECOVERING
state, it was not …