We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7751407 commit fb90b32Copy full SHA for fb90b32
mem3_helper.py
@@ -93,7 +93,7 @@ def check_membership_forever():
93
elif 'cluster_nodes' in membership_json and 'all_nodes' in membership_json:
94
if membership_json['cluster_nodes'] != membership_json['all_nodes']:
95
print('ERROR: cluster_nodes contains:', membership_json['cluster_nodes'], 'while all_nodes contains:', membership_json['all_nodes'], '!', file=sys.stderr)
96
- if expected_peers_count and membership_json['cluster_nodes'] and len(membership_json['cluster_nodes']) < int(expected_peers_count):
+ if expected_peers_count and len(membership_json['cluster_nodes']) < int(expected_peers_count):
97
print('ERROR: cluster_nodes contains', len(membership_json['cluster_nodes']), 'nodes, but expecting', expected_peers_count, 'nodes!', file=sys.stderr)
98
else:
99
print('ERROR: _membership response does not contain expected data structure!', file=sys.stderr)
0 commit comments