[MDEV-32940] Semi-sync Slave Falsely Logs that Master has Semi-sync Disabled Created: 2023-12-04  Updated: 2023-12-05  Resolved: 2023-12-05

Status: Closed
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.6
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Brandon Nesterenko Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: MDEV-32551-test

Issue Links:
Problem/Incident
is caused by MDEV-32551 "Read semi-sync reply magic number er... Closed

 Description   

During testing MDEV-32551, a semi-sync slave will always output the following error when connecting to a master

[Note] Slave has semi-sync enabled but master server does not. Semi-sync will be activated when master  enables it

even if the master has semi-sync enabled. The code has a false negation to output the message:

  if (!strcmp(row[1], "ON"))
    sql_print_information("Slave has semi-sync enabled but master server does "
                          "not. Semi-sync will be activated when master "
                          " enables it");

Note too, the extra space between the words "master" and "enables" which should be removed.



 Comments   
Comment by Michael Widenius [ 2023-12-05 ]

Fixed in bb-10.6-semisync

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