]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: separate omap per-pool vs per-pg alerts 40410/head
authorSage Weil <sage@newdream.net>
Tue, 23 Mar 2021 16:56:59 +0000 (11:56 -0500)
committerSage Weil <sage@newdream.net>
Thu, 25 Mar 2021 12:43:27 +0000 (07:43 -0500)
commit2a1cba8ce4bb1da2eae054bb2e00eac7d279fbd5
tree0317f2310d8b83f0a4a1f13780e3adf1ec6f99be
parent3eb70cf622aace689e45749e8a92fce033d3d55c
os/bluestore: separate omap per-pool vs per-pg alerts

Currently the health alert raised does not match the docs, and the docs
do not describe what the health alert indicates.

Octopus added per-pool omap storage.  This improves space accounting
and reporting.

Pacific added per-pg omap storage (object hash in key).  This speeds up
PG removal.

Separate everthing out into two distinct alerts raised from bluestore
and surfaced as health alerts, with corresponding config options to
disable, and update the docs accordingly.

Also update the fsck options for warn vs error, and raise separate
errors for the per-pg and per-pool cases.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit f755e353e88b65fb923289464935ec635daf13b2)
doc/rados/operations/health-checks.rst
src/common/legacy_config_opts.h
src/common/options.cc
src/mon/PGMap.cc
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h