Skip to main content

Module replication

Module replication 

Source

Re-exports§

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

Modules§

client
protocol
server

Structs§

RawEntry
A raw entry read from the log.
ReplicationCursor
Per-shard replication cursor. Tracks the last replicated GSN and the file/offset position for efficient seeking.
ReplicationEntry
Entry captured from the write path via SPSC channel.
ReplicationRegistry
Registry of replication targets (trees) on a follower. Routes incoming entries to the correct tree’s index.
ShardLogReader
Reads entries from a shard’s data files starting from a GSN offset. Used for catch-up replication (initial sync, reconnect, SPSC overflow).

Traits§

ReplicationTarget
Trait for trees that can receive replicated entries.