]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add osd_distrust_data_digest option
authorSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 13:59:15 +0000 (08:59 -0500)
committerSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 18:21:12 +0000 (13:21 -0500)
commitb8476ebc5b3c5b5d801bf875bbd6dce5b113325c
treea8c1460ada706d893257405605e03b0a7a07ce40
parent49207a6cb388446361aafacfaa863d66dd452ded
common: add osd_distrust_data_digest option

If we have reason to distrust the stored full-object oi data digests,
this option will ignore them (and opportunistically clear them).  It
basically affects the same behaviors that osd_skip_data_digest except
the previous option only takes effect if bluestore is in use, while this
option is unconditional.

This serves a workaround for clusters that suffered the 12.2.6 bug that
produced bad full-object digests and *also* had PGs' primaries move from
bluestore to filestore nodes.  In those situations, this option can be
set to true.

After all OSDs are upgrade and all PGs come back with a clean deep
scrub this option can be disabled again.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/osd/PrimaryLogPG.cc