[MDEV-32945] Rpl_semi_sync_master_status is ON Without Any Connected Slaves Created: 2023-12-04 Updated: 2023-12-06 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.6 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brandon Nesterenko | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | MDEV-32551-test | ||
| Issue Links: |
|
||||||||
| Description |
|
If a master has no connected slaves it will report its status as ON. which is inconsistent with the timeout behavior, as a transaction which has a semi-sync wait timeout will turn the status to OFF. It seems more logical that the semi-sync status should be OFF if there are no slaves to synchronize with. |
| Comments |
| Comment by Michael Widenius [ 2023-12-06 ] | ||||||||||||
|
MariaDB [test]> show status like "rpl_semi_sync_master_status";
----------------------------
---------------------------- I also tried this diff:
+show status like "rpl_semi_sync_master_status"; ------------------ With this result: However if if I first do:
----------------------------
----------------------------
----------------------------
---------------------------- | ||||||||||||
| Comment by Brandon Nesterenko [ 2023-12-06 ] | ||||||||||||
|
monty my filing is about the second case, where if you first run
then rpl_semi_sync_master_status is still ON, even with no connected slaves (as you show). |