]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: by default, do NOT warn about misplaced objects 25140/head
authorSage Weil <sage@redhat.com>
Fri, 16 Nov 2018 17:03:37 +0000 (11:03 -0600)
committerSage Weil <sage@redhat.com>
Fri, 16 Nov 2018 17:03:37 +0000 (11:03 -0600)
Misplaced objects are not something that puts the health or safety of
data in jeopardy.  Don't warn about it by default.

Since this is a change in behavior, add a release note.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/common/options.cc

index a40f4a998d8c1d07ccae179085ea285bce2922b9..16f0e860fc67113c6dfd0ce63cb940221d7208ca 100644 (file)
   option, you will need to adjust your config to set the new global option
   or revert to the default of .05 (5%).
 
+* By default, Ceph no longer issues a health warning when there are
+  misplaced objects (objects that are fully replicated but not stored
+  on the intended OSDs).  You can reenable the old warning by setting
+  ``mon_warn_on_misplaced`` to ``true``.
 
 Upgrading from Luminous
 -----------------------
index 31c5a57600c6a9104b7a4dd175644e8c25028610..421127af4038a7e4cf50b94390125109a946973b 100644 (file)
@@ -1524,7 +1524,7 @@ std::vector<Option> get_global_options() {
     .set_description("Enable POOL_APP_NOT_ENABLED health check"),
 
     Option("mon_warn_on_misplaced", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(true)
+    .set_default(false)
     .set_description("Issue a health warning if there are misplaced objects"),
 
     Option("mon_max_snap_prune_per_epoch", Option::TYPE_UINT, Option::LEVEL_ADVANCED)