Bug #85382 Getting semi-sync reply magic number errors when slave_compressed_protocol is 1
| Submitted: | 9 Mar 2017 6:22 | Modified: | 10 Mar 2017 6:42 |
|---|---|---|---|
| Reporter: | Jaime Sicam | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.7, 5.7.17 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[9 Mar 2017 6:22]
Jaime Sicam
[10 Mar 2017 6:42]
MySQL Verification Team
Hello Jaime Sicam, Thank you for the report and test case. Observed the reported issue with 5.7.17 build, I didn't notice any replication failure etc but observed that error log on master/slave flooded with the messages. Thanks, Umesh
[10 Mar 2017 6:43]
MySQL Verification Team
test results
Attachment: 85382.5.7.17.results (application/octet-stream, text), 52.92 KiB.
[28 Mar 2017 11:26]
Bryan Beaudreault
I'm seeing this as well. As you said there is no replication error, but it results in a large latency on all writes. The writes do not succeed until the error happens and the slave reconnects and dumps the binlog.
[20 Apr 2017 3:47]
monty solomon
The QPS drops from around 300 QPS to around 30 QPS when slave_compressed_protocol is enabled running the following command on the master with two (2) slavea. pt-heartbeat --database heartbeat --table heartbeat --update --create-table --daemonize --interval 0.01 The state on the master is "Waiting for semi-sync ACK from slave" master my.cnf settings plugin-load = rpl_semi_sync_master=semisync_master.so;rpl_semi_sync_slave=semisync_slave.so rpl_semi_sync_master_timeout = 1000000000000000000 rpl_semi_sync_master_wait_no_slave = 1 rpl_semi_sync_master_enabled = 1 rpl_semi_sync_slave_enabled = 0 slave my.cnf settings plugin-load = rpl_semi_sync_master=semisync_master.so;rpl_semi_sync_slave=semisync_slave.so rpl_semi_sync_master_timeout = 1000000000000000000 rpl_semi_sync_master_wait_no_slave = 1 rpl_semi_sync_master_enabled = 0 rpl_semi_sync_slave_enabled = 1
[22 Nov 2017 7:07]
ashe sun
5.7.20 Affected.
[18 Apr 2018 6:16]
Xiaofeng Dong
It may be fixed in MySQL-5.7.21. Replication: The receiver thread for semisynchronous replication was not able to receive acknowledgements from slaves that used compression of the master/slave protocol (slave_compressed_protocol=ON). The receiver thread now handles compressed acknowledgements correctly. (Bug #26027024, Bug #86230) https://bugs.mysql.com/bug.php?id=86230
[19 Dec 2018 19:16]
Fernando Camargos
> It may be fixed in MySQL-5.7.21. It has not: I've just tested with 5.7.22 and I still see the same ERROR messages, though pt-table-checksum doesn't show any signs of data inconsistency.
[13 Jul 2023 3:08]
Biao You
> It may be fixed in MySQL-5.7.21. my db is 5.7.28 and still see the same ERROR messages.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.