-
+- The 'osd min down {reporters|reports}' config options have been
+ renamed to 'mon osd min down {reporters|reports}', and the
+ documentation has been updated to reflect that these options apply
+ to the monitors (who process failure reports) and not OSDs. If you
+ have adjusted these settings, please update your ``ceph.conf''
+ accordingly.
down reports`` setting under the ``[osd]`` section of your Ceph configuration
file, or by setting the value at runtime. By default, only one OSD is required
to report another OSD down. You can change the number of OSDs required to report
-a monitor down by adding an ``osd min down reporters`` setting under the
-``[osd]`` section of your Ceph configuration file, or by setting the value at
+a monitor down by adding an ``mon osd min down reporters`` setting under the
+``[mon]`` section of your Ceph configuration file, or by setting the value at
runtime.
:Type: 32-bit Integer
:Default: ``900``
+``mon osd min down reporters``
+
+:Description: The minimum number of OSDs required to report a ``down`` OSD.
+:Type: 32-bit Integer
+:Default: ``1``
+
+
+``mon osd min down reports``
+
+:Description: The minimum number of times an OSD must report that another
+ is ``down``.
+
+:Type: 32-bit Integer
+:Default: ``3``
+
OSD Settings
:Type: 32-bit Integer
:Default: ``30``
-
-``osd min down reporters``
-
-:Description: The minimum number of OSDs required to report a ``down`` OSD.
-:Type: 32-bit Integer
-:Default: ``1``
-
-
-``osd min down reports``
-
-:Description: The minimum number of times an OSD must report that another
- is ``down``.
-
-:Type: 32-bit Integer
-:Default: ``3``
-
OPTION(mon_sync_debug_leader, OPT_INT, -1) // monitor to be used as the sync leader
OPTION(mon_sync_debug_provider, OPT_INT, -1) // monitor to be used as the sync provider
OPTION(mon_sync_debug_provider_fallback, OPT_INT, -1) // monitor to be used as fallback if sync provider fails
+OPTION(mon_osd_min_down_reporters, OPT_INT, 1) // number of OSDs who need to report a down OSD for it to count
+OPTION(mon_osd_min_down_reports, OPT_INT, 3) // number of times a down OSD must be reported for it to count
// dump transactions
OPTION(mon_debug_dump_transactions, OPT_BOOL, true)
OPTION(osd_mon_report_interval_max, OPT_INT, 120)
OPTION(osd_mon_report_interval_min, OPT_INT, 5) // pg stats, failures, up_thru, boot.
OPTION(osd_mon_ack_timeout, OPT_INT, 30) // time out a mon if it doesn't ack stats
-OPTION(osd_min_down_reporters, OPT_INT, 1) // number of OSDs who need to report a down OSD for it to count
-OPTION(osd_min_down_reports, OPT_INT, 3) // number of times a down OSD must be reported for it to count
OPTION(osd_default_data_pool_replay_window, OPT_INT, 45)
OPTION(osd_preserve_trimmed_log, OPT_BOOL, false)
OPTION(osd_auto_mark_unfound_lost, OPT_BOOL, false)
}
if (failed_for >= grace &&
- ((int)fi.reporters.size() >= g_conf->osd_min_down_reporters) &&
- (fi.num_reports >= g_conf->osd_min_down_reports)) {
+ ((int)fi.reporters.size() >= g_conf->mon_osd_min_down_reporters) &&
+ (fi.num_reports >= g_conf->mon_osd_min_down_reports)) {
dout(1) << " we have enough reports/reporters to mark osd." << target_osd << " down" << dendl;
pending_inc.new_state[target_osd] = CEPH_OSD_UP;