Raft Consensus Algorithm
    Preparing search index...

    Interface LogStorageMeta

    Persisted metadata describing current retained log and snapshot boundary.

    interface LogStorageMeta {
        lastIndex: number;
        lastTerm: number;
        snapshotIndex: number;
        snapshotTerm: number;
    }
    Index

    Properties

    lastIndex: number

    Last retained log index.

    lastTerm: number

    Term at lastIndex.

    snapshotIndex: number

    Last compacted index included by snapshot.

    snapshotTerm: number

    Term at snapshotIndex.