MySQL Innodb CLuster reported negative replicationLag

95 Views Asked by At

The cluster.status() reported something like this -- replicationLag:-00:00:00.003348

I don't understand why the lag could be a negative value? The replication slave finished the write operation before master?

1

There are 1 best solutions below

1
Miguel Araújo On

The way 'replicationLag' was calculated in Cluster.status() was incorrect. That has been fixed in version 8.0.30, please upgrade MySQL Shell to the latest version.