Raft Consensus Algorithm
    Preparing search index...

    Interface NodeStorage

    Aggregate storage contract for all Raft durable data domains.

    Implementations are expected to open and close all underlying sub-storages as one unit.

    interface NodeStorage {
        config: ConfigStorage;
        log: LogStorage;
        meta: MetaStorage;
        snapshot: SnapshotStorage;
        close(): Promise<void>;
        isOpen(): boolean;
        open(): Promise<void>;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    Cluster membership persistence.

    Replicated log persistence.

    Persistent term and vote state.

    snapshot: SnapshotStorage

    Snapshot persistence.

    Methods