Skip to content

Conversation

blalor
Copy link
Contributor

@blalor blalor commented Jun 28, 2015

I think this is correct, since the docs1 for enabling semi-sync indicate that not all slaves need to support it, even if the msater does. This does resolve the problem I sort-of-reported in #13, which appears to be two bytes missing from the beginning of the packet at the time the event is parsed.

… connection I think this is correct, since the docs[1] for enabling semi-sync indicate that not all slaves need to support it, even if the msater does. This does resolve the problem I sort-of-reported in go-mysql-org#13, which appears to be two bytes missing from the beginning of the packet at the time the event is parsed. [1]: https://dev.mysql.com/doc/refman/5.5/en/replication-semisync-installation.html
siddontang added a commit that referenced this pull request Jun 29, 2015
Only check for semi-sync ack request if semi-sync is enabled for this connection
@siddontang siddontang merged commit 81f0c76 into go-mysql-org:master Jun 29, 2015
@siddontang
Copy link
Collaborator

Thank you very much. @blalor

@blalor
Copy link
Contributor Author

blalor commented Jun 29, 2015

You’re welcome. I can’t really attest to the correctness of this approach, but it does work for me. :-)

@siddontang
Copy link
Collaborator

Your are right. I didn't think the first two bytes may be the same as semi-sync head, my fault :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants