From: Loic Dachary Date: Wed, 12 Feb 2014 17:49:50 +0000 (+0100) Subject: mon: add --mon-advanced-debug-mode X-Git-Tag: v0.78~186^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=07c494bd7c633dd66bd0db80243e7708627867aa;p=ceph.git mon: add --mon-advanced-debug-mode When this flag is true, the mon is expected to provide functionalities that are for developer oriented debug purposes only. It is meant to be used by the developer and not the system administrator, because it would allow a non-developer to break things in ways that would be very difficult to diagnose. It should probably not be documented. Signed-off-by: Loic Dachary --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index b53aa7cd08e5..7b99c0c3ae14 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -199,6 +199,7 @@ OPTION(mon_osd_min_down_reports, OPT_INT, 3) // number of times a down OSD m OPTION(mon_osd_force_trim_to, OPT_INT, 0) // force mon to trim maps to this point, regardless of min_last_epoch_clean (dangerous, use with care) OPTION(mon_mds_force_trim_to, OPT_INT, 0) // force mon to trim mdsmaps to this point (dangerous, use with care) +OPTION(mon_advanced_debug_mode, OPT_BOOL, false) // true for developper oriented testing // dump transactions OPTION(mon_debug_dump_transactions, OPT_BOOL, false) OPTION(mon_debug_dump_location, OPT_STR, "/var/log/ceph/$cluster-$name.tdump")