Skip to content

Commit

Permalink
osd: default osd_scrub_during_recovery=false
Browse files Browse the repository at this point in the history
This is a more friendly behavior.  Tell users in the release notes how to
get the old behavior.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8dca17c)

 Conflicts:
	PendingReleaseNotes "trivial resolution"

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
  • Loading branch information
liewegas authored and vumrao committed Sep 26, 2017
1 parent 750e67c commit 487755f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions PendingReleaseNotes
@@ -1,3 +1,9 @@
* The 'mon_warn_osd_usage_min_max_delta' health warning has been disabled because
it does not address clusters undergoing recovery or CRUSH rules that do
not target all devices in the cluster.

* The OSDs now avoid starting new scrubs while recovery is in progress. To
revert to the old behavior (and do not let recovery activity affect the
scrub scheduling) you can set the following option::

osd scrub during recovery = true
2 changes: 1 addition & 1 deletion src/common/config_opts.h
Expand Up @@ -767,7 +767,7 @@ OPTION(osd_max_push_cost, OPT_U64, 8<<20) // max size of push message
OPTION(osd_max_push_objects, OPT_U64, 10) // max objects in single push op
OPTION(osd_recovery_forget_lost_objects, OPT_BOOL, false) // off for now
OPTION(osd_max_scrubs, OPT_INT, 1)
OPTION(osd_scrub_during_recovery, OPT_BOOL, true) // Allow new scrubs to start while recovery is active on the OSD
OPTION(osd_scrub_during_recovery, OPT_BOOL, false) // Allow new scrubs to start while recovery is active on the OSD
OPTION(osd_scrub_begin_hour, OPT_INT, 0)
OPTION(osd_scrub_end_hour, OPT_INT, 24)
OPTION(osd_scrub_load_threshold, OPT_FLOAT, 0.5)
Expand Down

0 comments on commit 487755f

Please sign in to comment.