Interface PeerInfo

interface PeerInfo {
    active: number;
    current: boolean;
    lag: number;
    name: string;
    offline: boolean;
}

Properties

active: number

Nanoseconds since this peer was last seen

current: boolean

Indicates if the server is up-to-date and synchronised

lag: number

How many uncommitted operations this peer is behind the leader

name: string

The server name of the peer

offline: boolean

Indicates the node is considered offline by the group