MySQL 9.1.0
Source Code Documentation
certifier.h File Reference

Go to the source code of this file.

Classes

class  Gtid_set_ref
 This class extends Gtid_set to include a reference counter. More...
 
class  Certifier_broadcast_thread
 This class is a core component of the database state machine replication protocol. More...
 
class  Certifier_interface
 
class  Certifier
 
class  Gtid_Executed_Message
 

Macros

#define MAX_COMPRESSED_PACKET_SIZE   10485760
 While sending Recovery Metadata the Certification Information is divided into several small packets of MAX_COMPRESSED_PACKET_SIZE before sending it to group for Recovery. More...
 

Macro Definition Documentation

◆ MAX_COMPRESSED_PACKET_SIZE

#define MAX_COMPRESSED_PACKET_SIZE   10485760

While sending Recovery Metadata the Certification Information is divided into several small packets of MAX_COMPRESSED_PACKET_SIZE before sending it to group for Recovery.

The compressed packet size is choosen as 10MB so that multiple threads can process (serialize and compress or unserialize and decompress) packets simultaneously without consuming too much memory.