From ab9b8e04fe1c0557769f1d8f697a0bfcbdf7c8ce Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 16 Nov 2018 11:03:37 -0600 Subject: [PATCH] mon: by default, do NOT warn about misplaced objects 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 --- PendingReleaseNotes | 4 ++++ src/common/options.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index a40f4a998d8c..16f0e860fc67 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -138,6 +138,10 @@ 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 ----------------------- diff --git a/src/common/options.cc b/src/common/options.cc index 31c5a57600c6..421127af4038 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1524,7 +1524,7 @@ std::vector