From: Samuel Just Date: Thu, 24 Jan 2013 01:44:05 +0000 (-0800) Subject: ceph_manager: default chance_down to 0.4 X-Git-Tag: 1.1.0~2367^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ec5a14553f6e9b026c14e90e5b29faf9f7fdb153;p=teuthology.git ceph_manager: default chance_down to 0.4 Signed-off-by: Samuel Just --- diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index 49f82f07b4..c3385cc718 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -148,7 +148,7 @@ class Thrasher: assert not the_one in status['down'] def choose_action(self): - chance_down = self.config.get('chance_down', 0) + chance_down = self.config.get('chance_down', 0.4) chance_test_min_size = self.config.get('chance_test_min_size', 0) if isinstance(chance_down, int): chance_down = float(chance_down) / 100 diff --git a/teuthology/task/thrashosds.py b/teuthology/task/thrashosds.py index a945dbc475..409adb6f92 100644 --- a/teuthology/task/thrashosds.py +++ b/teuthology/task/thrashosds.py @@ -38,7 +38,7 @@ def task(ctx, config): to probabilistically choose when to wait, and the method used makes it closer to -- but not identical to -- the half-life.) - chance_down: (0) the probability that the thrasher will mark an + chance_down: (0.4) the probability that the thrasher will mark an OSD down rather than marking it out. (The thrasher will not consider that OSD out of the cluster, since presently an OSD wrongly marked down will mark itself back up again.) This value