Skip to content

Commit

Permalink
Update check-consistency.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KShivendu authored Oct 7, 2024
1 parent 0d034f0 commit 8e94c52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/check-consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ def calculate_inconsistent_points(source_points, target_points, point_ids):
num_peers = len(result["peers"])
peer_id = result['peer_id']
if num_peers < 5:
print(f'level=INFO msg="Fetched cluster peers" num_peers={num_peers}')
print(f'level=INFO msg="Fetched cluster peers" peer_id={peer_id} num_peers={num_peers}')
else:
print(f'level=CRITICAL msg="Found too many peers" num_peers={num_peers} peer_id={peer_id} response={result}')
print(f'level=CRITICAL msg="Fetched cluster peers. Found too many peers" num_peers={num_peers} peer_id={peer_id} response={result}')

QDRANT_URIS = [
f"https://node-{idx}-{QDRANT_CLUSTER_URL}:6333" for idx in range(num_peers)
Expand Down

0 comments on commit 8e94c52

Please sign in to comment.