Signed-off-by: Samuel Just <sam.just@inktank.com>
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
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