[MDEV-33424] when both rpl_semi_sync_MASTER,SLAVE_enabled set the server should recover as master Created: 2024-02-07  Updated: 2024-02-07

Status: Open
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.6, 10.11, 11.0, 11.1, 11.2, 11.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Andrei Elkin Assignee: Brandon Nesterenko
Resolution: Unresolved Votes: 1
Labels: None


 Description   

When at recovery both rpl_semi_sync_MASTER,SLAVE_enabled variables are set ON
the server recovers as a semisync slave to conduct binlog truncation according to MDEV-21117.

While which of the roles the user means with the settings is unclear, and considering that switchover must be of lesser demand compare to a "normal" master crash-recovery, a presumed intent is better off be for MASTER.

That is when both variables are ON a post-crash restarting server would execute the normal recovery.


Generated at Thu Feb 08 10:38:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.