[MDEV-32943] Stopping Semi-sync Slave Reports that it is Falling Back to Async Mode Created: 2023-12-04  Updated: 2023-12-06  Resolved: 2023-12-06

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   

If a slave is stopped (or shut down) while also sending an ACK back to a primary, it will log an error in its error log

2023-12-04  8:50:10 10 [ERROR] Semi-sync slave net_flush() reply failed
2023-12-04  8:50:10 10 [ERROR] Master server does not read semi-sync messages, fallback to asynchronous replication

The first error seems fine, but if the slave is stopping, it should not message that it is falling back to asynchronous replication.



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

Cleaned up error messages a bit in the semi-sync patch to make things less
verbose. This fixes this issue.

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