Skip to content

Commit

Permalink
Merge pull request #389 from sylwiaszunejko/zero-token
Browse files Browse the repository at this point in the history
Do not throw a warning for zero-token node
  • Loading branch information
dkropachev authored Dec 10, 2024
2 parents 2af442b + e2bc60b commit db4bee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cassandra/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -4088,8 +4088,8 @@ def _is_valid_peer(row):
return False

if "tokens" in row and not row.get("tokens"):
log.warning(
"Found an invalid row for peer - tokens is None (broadcast_rpc: %s, host_id: %s). Ignoring host." %
log.debug(
"Found a zero-token node - tokens is None (broadcast_rpc: %s, host_id: %s). Ignoring host." %
(broadcast_rpc, host_id))
return False

Expand Down

0 comments on commit db4bee6

Please sign in to comment.