]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
task: mon_thrash: Add 'seed' and 'store-thrash' options
authorJoao Eduardo Luis <joao.luis@inktank.com>
Mon, 11 Feb 2013 15:11:44 +0000 (15:11 +0000)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Fri, 22 Feb 2013 00:44:25 +0000 (00:44 +0000)
commitd28bb05a659c5fc4cdb57b5e14c883f55d882afc
treeebded8f1828d12a5a4ecc9bee88199c9ce2b1d7c
parent278be217b62a27eb1cf578cba8ce513ae117fb6c
task: mon_thrash: Add 'seed' and 'store-thrash' options

This patch introduces an option to thrash a monitor store when we thrash
the monitors, as well as a 'store-thrash-probability' option (defaulting
to 50%).

We also took this opportunity to introduce a new 'seed' option, that ought
to allow a given run of this task to be reproducible.  This might come in
hand when attempting to reproduce a given behavior that would otherwise
be randomly triggered.

You should note that while the 'seed' option will indeed mimic past
behaviors, this only applies to a past behavior of this task: other tasks
are not affected by this value, nor are any workunits or even ceph daemons.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
teuthology/task/mon_thrash.py