Skip to main content

Module replication

Module replication 

Source
Expand description

Native fast-cache replication.

Replication is intentionally separate from WAL/AOF/PSYNC. WAL remains the local crash-recovery path; this module emits compact storage-level mutation batches for async read replicas and service subscribers.

Structs§

BorrowedReplicationMutation
ReplicatedEmbeddedStore
ReplicationBacklog
ReplicationFrame
ReplicationFramePayload
ReplicationHello
ReplicationMetrics
ReplicationMetricsSnapshot
ReplicationMutation
ReplicationPrimary
ReplicationPrimaryServer
Handle to a primary’s TCP listener thread.
ReplicationReplica
ReplicationReplicaClient
Handle to a replica’s TCP connector thread.
ReplicationSnapshot
ReplicationSnapshotChunk
ShardWatermarks

Enums§

BacklogCatchUp
FrameKind
HelloRole
ReplicationCompressionMode

Constants§

FCRP_MAGIC
FCRP_VERSION

Traits§

SnapshotProvider
Provides consistent snapshots to the replication transport.

Functions§

decode_ack
decode_error
decode_frame
decode_frame_payload
decode_hello
decode_mutation_batch
decode_snapshot_chunk
encode_ack
encode_error
encode_frame
encode_hello
encode_mutation_batch
encode_snapshot_chunk
visit_mutation_batch_payload