Skip to main content

Module protocol

Module protocol 

Source
Expand description

Replication protocol messages

Defines the wire format for primary-passive communication.

Structs§

AckMessage
Acknowledgment message
ErrorMessage
Error message
FencingToken
Fencing token for split-brain prevention
Heartbeat
Heartbeat message sent periodically by primary
HelloMessage
Initial handshake message
SyncRequest
Request to sync decision records from a specific sequence
SyncResponse
Response containing batched decision records

Enums§

ErrorCode
Error codes for replication protocol
ReplicationMessage
Replication protocol messages

Constants§

MAX_MESSAGE_SIZE
Maximum message size (10MB)
PROTOCOL_VERSION
Protocol version for compatibility checking