Skip to content

Is there a way to get a list of RaftEndpoints that are currently online? #34

Closed Answered by metanet
bootjp asked this question in Q&A
Discussion options

You must be logged in to vote

* Returns timestamps of latest heartbeats sent by the non-leader nodes to the
* leader Raft node, including both {@link RaftRole#FOLLOWER} and
* {@link RaftRole#LEARNER} nodes. The leader node's RaftEndpoint is not present
* in the map. This map is returned non-empty only by the leader Raft node.
*
* @return timestamps of latest heartbeats sent by the non-leader nodes
*/
@Nonnull
Map<RaftEndpoint, Long> getHeartbeatTimestamps();
/**
* Returns earliest heartbeat timestamp of the replication quorum. This method

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@bootjp
Comment options

@metanet
Comment options

@metanet
Comment options

@bootjp
Comment options

@metanet
Comment options

Comment options

You must be logged in to vote
1 reply
@bootjp
Comment options

Answer selected by metanet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants