[MXS-4538] No valid servers in cluster 'MariaDB-Monitor' Created: 2023-03-02 Updated: 2023-09-26 Resolved: 2023-09-26 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 22.08.3 |
| Fix Version/s: | 6.4.11, 22.08.9, 23.02.5, 23.08.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Dmitry | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Sprint: | MXS-SPRINT-191 |
| Description |
|
Hi I'm using 2 MaxScale 22.08.3 instances in a cluster (the configuration is bellow), everything seems to be working fine, the traffic is routed properly, I could switch master/slave, GTID is the same on both DB servers. But the command maxctrl show maxscale on db1 shows an error in the Sync section, though checksums are the same: db1:
db2:
shows that replication is ok and the DBs are ok: In this thread: https://groups.google.com/g/maxscale/c/ExxVP1VNMu8/m/6B6K7Z-6AAAJ?utm_medium=email&utm_source=footer The following configuration is used:
|
| Comments |
| Comment by markus makela [ 2023-03-02 ] | ||||||||||
|
Thank you for reporting this. Have you since then restarted the MaxScale instance which has this error? If you did, does the error persist? | ||||||||||
| Comment by Dmitry [ 2023-03-02 ] | ||||||||||
|
Hi Markus,
| ||||||||||
| Comment by markus makela [ 2023-09-22 ] | ||||||||||
|
I managed to reproduce this by first making a valid change that was stored in the cluster and then restarting the database. The status updates for the local status are only updated when there's a problem or when a change is committed in the cluster. The part where the status is restored to OK when the sync once again connected to the cluster was missing if the version in the MaxScale was the same. |