token_metadata: Add docs for is_member

Make it clear, is_member checks if a node is part of the token ring and
checks nothing else.
This commit is contained in:
Asias He
2022-11-15 10:36:10 +08:00
parent a495b71858
commit 965097cde5

View File

@@ -169,6 +169,8 @@ public:
void remove_endpoint(inet_address endpoint);
// Checks if the node is part of the token ring. If yes, the node is one of
// the nodes that owns the tokens and inside the set _normal_token_owners.
bool is_member(inet_address endpoint) const;
bool is_leaving(inet_address endpoint) const;