Skip to content

Commit

Permalink
Dont set node status as down
Browse files Browse the repository at this point in the history
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 69f906e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector.py
Expand Up @@ -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):
Expand Down

0 comments on commit 69f906e

Please sign in to comment.