From: Patrick Donnelly Date: Fri, 7 Jul 2017 05:25:48 +0000 (-0700) Subject: qa: thrash max_mds and deactivate ranks X-Git-Tag: ses5-milestone9~1^2~29^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16200%2Fhead;p=ceph.git qa: thrash max_mds and deactivate ranks Fixes: http://tracker.ceph.com/issues/10792 Signed-off-by: Patrick Donnelly --- 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))