Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dont set node status as down

Just print out trace messages when retrieving mc stats and exceptions
launch. It may mask out the real reason when simply mark node
status as down.
  • Loading branch information...
commit 69f906ea47b527ffd98bf65c6b9a77ee0ab568a1 1 parent d7d27af
@bcui6611 bcui6611 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  collector.py
View
2  collector.py
@@ -211,7 +211,7 @@ def get_mc_stats(self, server, bucketlist, nodes, bucketname):
self.get_mc_stats_per_node(mc, stats)
stats_buffer.node_stats[bucket_name][node['hostname']] = stats
except Exception, err:
- stats_buffer.nodes[node['hostname']]['status'] = 'down'
+ #stats_buffer.nodes[node['hostname']]['status'] = 'down'
traceback.print_exc()
def get_ns_stats(self, bucketlist, server, port, user, password, bucketname, scale, opts):
Please sign in to comment.
Something went wrong with that request. Please try again.