Skip to main content

Module replication_manager

Module replication_manager 

Source
Expand description

Storage Replication Manager

Tracks and manages block replication across storage nodes with configurable replication factors and health monitoring. Provides visibility into replica health, selection of candidate nodes for new replicas, stale node eviction, and comprehensive statistics.

Structs§

BlockReplicas
Tracks all replicas of a single block (legacy type).
ReplicaInfo
Information about a single replica of a block on a specific peer (legacy type).
ReplicaNode
A storage node that participates in the replication cluster.
ReplicationConfig
Configuration for the replication manager (legacy name kept for backwards compatibility; prefer RmReplicationPolicy for new code).
ReplicationManagerStats
Aggregate statistics for the replication manager (legacy type).
RmReplicaLocation
Records where a specific CID replica is stored.
RmReplicationPolicy
Policy governing how many replicas are maintained and which nodes are chosen.
RmReplicationStats
Aggregate statistics for StorageReplicationManager.
StorageReplicationManager
Manages block replication across a set of storage nodes.

Enums§

ReplicationError
Errors produced by StorageReplicationManager.
ReplicationState
State of a single replica of a block (legacy type).
RmReplicationStatus
Health status of a CID’s replication across the cluster.