Permalink
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...
bcui6611 committed Jul 28, 2012
1 parent d7d27af commit 69f906ea47b527ffd98bf65c6b9a77ee0ab568a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 collector.py
View
@@ -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):

0 comments on commit 69f906e

Please sign in to comment.