Expand description
Replication protocol payload contracts.
These structs describe the transport-agnostic payloads used by
primary/replica exchange. Applying WAL, creating base backups,
staging rebootstrap, and failover policy stay in reddb-server
and reddb-file.
Re-exports§
pub use basebackup::BaseBackupChunk;pub use basebackup::BaseBackupChunkPart;pub use basebackup::BaseBackupManifestChunk;pub use basebackup::BaseBackupRequest;pub use basebackup::BASEBACKUP_CHUNK_HEX_FIELD;pub use basebackup::BASEBACKUP_CHUNK_ORDINAL_FIELD;pub use basebackup::BASEBACKUP_CHUNK_PAIR_FIELD;pub use basebackup::BASEBACKUP_MANIFEST_HEX_FIELD;pub use bookmark::BookmarkDecodeError;pub use bookmark::CausalBookmark;pub use catchup::CatchupMode;pub use catchup::CatchupModeReply;pub use change_record::change_record_json_value_to_string;pub use change_record::parse_change_record_json_value;pub use change_record::public_item_kind;pub use change_record::ChangeOperation;pub use change_record::ChangeRecord;pub use change_record::ChangeRecordJsonValue;pub use change_record::RangeAdmitError;pub use change_record::RangeAuthority;pub use change_record::DEFAULT_REPLICATION_TERM;pub use range_stream::classify_range_record;pub use range_stream::plan_range_catchup;pub use range_stream::RangeCatchupPlan;pub use range_stream::RangeProgressTracker;pub use range_stream::RangeStreamDecision;pub use range_stream::RangeStreamPosition;pub use range_stream::RangeStreamProgress;pub use range_stream::RangeStreamReject;pub use timeline::FailoverPromotionReply;pub use timeline::FailoverPromotionRequest;pub use timeline::RejoinPlanNotice;pub use timeline::RejoinRewindConfirmation;pub use timeline::RejoinRewindConfirmationReply;pub use timeline::TimelineForkNotice;pub use wal_stream::WalStreamAck;pub use wal_stream::WalStreamAckReply;pub use wal_stream::WalStreamChunk;pub use wal_stream::WalStreamOpen;pub use wal_stream::WalStreamRecord;
Modules§
- basebackup
- bookmark
- Causal bookmark token contract.
- catchup
- change_
record - range_
stream - Range-indexed WAL streaming and per-range catch-up (issue #992).
- timeline
- wal_
stream