getRaftElectionTick

Syntax

getRaftElectionTick(groupId)

Arguments

groupId is a positive integer indicating the raft group ID. Currently it can only be 1, referring to the ID of the raft group composed of controllers.

Details

Obtain the election tick in the specified raft group. The election tick is specified by the parameter tickCount of command setRaftElectionTick or the configuration parameter raftElectionTick.

Related Functions: setRaftElectionTick, getControllerElectionTick