Skip to content

Commit db4bee6

Browse files
authored
Merge pull request #389 from sylwiaszunejko/zero-token
Do not throw a warning for zero-token node
2 parents 2af442b + e2bc60b commit db4bee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cassandra/cluster.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4088,8 +4088,8 @@ def _is_valid_peer(row):
40884088
return False
40894089

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

0 commit comments

Comments
 (0)