4-Semi-Sync replication

You are viewing an old version of this article. View the current version here.

Semi-Synchronous Binlog Event

After the status byte of a binlog network stream, 2 bytes are added before the normal Binlog Event.

Note : The packet size, as in network protocol header, is then: event_size + 1 byte status + 2 bytes semi-sync replication

The SemiSync flag is SEMI_SYNC_ACK_REQ (0x01)

If the SEMI_SYNC_ACK_REQ flag is set the master waits for a Semi Sync ACK packet from the slave before it sends the next event.

The Semi Sync ACK sent by the slave (when requested) is

The master acknowledges this Semi Sync ACK with a OK_Packet or a ERR_Packet.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.