Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
25.10.2
-
None
-
None
Description
During the use of maxscale 25.10.2 and mariadb enterprise cluster 11.8
i face this different situation:
┌───────────┬─────────────┬──────┬─────────────┬────────┬─────────────┬──────────────────┬─────────────────┐
|
│ Server │ Address │ Port │ Connections │ Status │ Status Info │ GTID │ Monitor │
|
├───────────┼─────────────┼──────┼─────────────┼────────┼─────────────┼──────────────────┼─────────────────┤
|
│ mdb1-gra4 │ 10.150.0.11 │ 3306 │ 0 │ Down │ │ │ cluster_monitor │ |
├───────────┼─────────────┼──────┼─────────────┼────────┼─────────────┼──────────────────┼─────────────────┤
|
│ mdb2-gra4 │ 10.150.0.12 │ 3306 │ 0 │ Down │ │ │ cluster_monitor │ |
├───────────┼─────────────┼──────┼─────────────┼────────┼─────────────┼──────────────────┼─────────────────┤
|
│ mdb3-gra4 │ 10.150.0.13 │ 3306 │ 0 │ Up │ │ 0-102-2377204523 │ cluster_monitor │ |
└───────────┴─────────────┴──────┴─────────────┴────────┴─────────────┴──────────────────┴─────────────────┘
|
┌───────────┬─────────────┬──────┬─────────────┬────────┬─────────────────────┬──────────────────┬─────────────────┐
|
│ Server │ Address │ Port │ Connections │ Status │ Status Info │ GTID │ Monitor │
|
├───────────┼─────────────┼──────┼─────────────┼────────┼─────────────────────┼──────────────────┼─────────────────┤
|
│ mdb1-gra4 │ 10.150.0.11 │ 3306 │ 0 │ Down │ │ │ cluster_monitor │ |
├───────────┼─────────────┼──────┼─────────────┼────────┼─────────────────────┼──────────────────┼─────────────────┤
|
│ mdb2-gra4 │ 10.150.0.12 │ 3306 │ 0 │ Down │ │ │ cluster_monitor │ |
├───────────┼─────────────┼──────┼─────────────┼────────┼─────────────────────┼──────────────────┼─────────────────┤
|
│ mdb3-gra4 │ 10.150.0.13 │ 3306 │ 0 │ Write │ wsrep_local_index=0 │ 0-102-2377208334 │ cluster_monitor │ |
└───────────┴─────────────┴──────┴─────────────┴────────┴─────────────────────┴──────────────────┴─────────────────┘
|
there are two issue here:
1- there is no indication the status of DONOR
2- the label UP, isnt tell that it cant perform a WRITE cause is in donor mode
for operational point of view we need AWAYS to mark the DONOR status, but also a better view status like 'Up/Donor/no_write_allow' would help a lot
the right command " maxctrl alter monitor cluster_monitor available_when_donor true " make the swich status happend from UP to WRITE, still missing the donor status