Skip to main content

Crate edgestore_repl

Crate edgestore_repl 

Source
Expand description

edgestore-repl — HTTP transport layer and pull-only anti-entropy loop.

Provides:

  • HttpReplicationClient — implements ReplicationProtocol over HTTP + MessagePack
  • HttpReplicationServer — serves pull-only endpoints with ?debug=json support
  • AntiEntropyLoop — background thread for pull-only sync with per-peer cursor
  • S3RemoteStore (with s3 feature) — RemoteStore impl using AWS SDK for S3

§What this crate does NOT do

edgestore-repl is a transport crate. It moves segments between nodes or to S3. Cache eviction, tiering policy, and transparent read-through live in edgestore-tier.

Re-exports§

pub use anti_entropy::AntiEntropyLoop;
pub use anti_entropy::PeerCursor;
pub use filesystem_remote_store::FilesystemRemoteStore;
pub use http_client::HttpReplicationClient;
pub use http_server::HttpReplicationServer;
pub use replicated_engine::ReplicatedEngine;

Modules§

anti_entropy
Pull-only anti-entropy loop with per-peer cursor persistence.
filesystem_remote_store
FilesystemRemoteStore — local-filesystem implementation of RemoteStore.
http_client
HTTP replication client implementing ReplicationProtocol.
http_server
HTTP replication server.
replicated_engine
ReplicatedEngine — convenience wrapper for the common primary + replica pattern.