From 6f3abc6ceda28e3c0ae600502af41da993215fc6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 12 Feb 2012 14:36:11 -0800 Subject: [PATCH] ceph_manager: mark in a bit more often than out Otherwise we can get into cases where many/most nodes are out, and things don't work as well. e.g., crush may start to fail. --- teuthology/task/ceph_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index 2a21ebfbbfc57..13273afc8f83e 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -100,7 +100,7 @@ class Thrasher(gevent.Greenlet): if len(self.live_osds) > minlive and chance_down > 0: actions.append((self.kill_osd, chance_down,)) if len(self.out_osds) > minout: - actions.append((self.in_osd, 1.0,)) + actions.append((self.in_osd, 1.7,)) if len(self.dead_osds) > mindead: actions.append((self.revive_osd, 1.0,)) -- 2.39.5