From 07c494bd7c633dd66bd0db80243e7708627867aa Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 12 Feb 2014 18:49:50 +0100 Subject: [PATCH] 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 --- src/common/config_opts.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index b53aa7cd08e..7b99c0c3ae1 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") -- 2.47.3