Skip to main content

Module replication

Module replication 

Source

Re-exports§

pub use client::ReplicationClient;
pub use client::ReplicationClientOptions;
pub use server::ReplicationServer;
pub use server::ReplicationServerOptions;

Modules§

client
protocol
server

Structs§

RawEntry
A raw entry read from the log.
ReplicationCursor
ReplicationEntry
Entry captured from the write path via SPSC channel.
ReplicationRegistry
Registry of the single replication target (tree) on a follower. Each Engine belongs to exactly one Tree, so only one target exists.
ShardLogReader
Reads entries from a shard’s data files starting from a GSN offset. Used for catch-up replication (initial sync, reconnect, SPSC overflow).

Enums§

ApplyOutcome
Outcome of applying a replicated entry to a target.

Traits§

ReplicationTarget
Trait for trees that can receive replicated entries.