From a84e3c89bfb917bd82d549fffde017235d36eddc Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 6 Jul 2017 22:25:48 -0700 Subject: [PATCH] qa: thrash max_mds and deactivate ranks Fixes: http://tracker.ceph.com/issues/10792 Signed-off-by: Patrick Donnelly --- qa/tasks/mds_thrash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/mds_thrash.py b/qa/tasks/mds_thrash.py index 1fcc9fc6a4890..75d236d105e2c 100644 --- a/qa/tasks/mds_thrash.py +++ b/qa/tasks/mds_thrash.py @@ -151,7 +151,7 @@ class MDSThrasher(Greenlet): thrash_in_replay: [default: 0.0] likelihood that the MDS will be thrashed during replay. Value should be between 0.0 and 1.0. - thrash_max_mds: [default: 0.0] likelihood that the max_mds of the mds + thrash_max_mds: [default: 0.05] likelihood that the max_mds of the mds cluster will be modified to a value [1, current) or (current, starting max_mds]. When reduced, randomly selected MDSs other than rank 0 will be deactivated to reach the new max_mds. Value should be between 0.0 and 1.0. @@ -216,7 +216,7 @@ class MDSThrasher(Greenlet): self.stopping = Event() self.randomize = bool(self.config.get('randomize', True)) - self.thrash_max_mds = float(self.config.get('thrash_max_mds', 0.0)) + self.thrash_max_mds = float(self.config.get('thrash_max_mds', 0.05)) self.max_thrash = int(self.config.get('max_thrash', 1)) self.max_thrash_delay = float(self.config.get('thrash_delay', 120.0)) self.thrash_in_replay = float(self.config.get('thrash_in_replay', False)) -- 2.47.3