]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
options, Mon: monitor the snap trim queues 20098/head
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Wed, 13 Dec 2017 15:13:33 +0000 (16:13 +0100)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Wed, 24 Jan 2018 10:46:46 +0000 (11:46 +0100)
commit127236f6766c8539dbcf6a7957b4f3a04e7807db
tree3d09489337276b2988830cfd0f90f5eb31655a35
parentca4413dee9a148c5ffda235793b02499a3975e88
options, Mon: monitor the snap trim queues

If new option "mon osd snap trim queue warn on" is set to value larger
than 0 (32768 by default), cluster will go into HEALTH_WARN state
once any pg has a snap trim queue larger than that value. This can
be used as an indicator of snaptrimmer not keeping up and disk space
not being reclaimed fast enough. Warning message will tell how many
pgs are affected.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
(cherry picked from commit 8412a65e0e6f610fb39430d8f65e561b6dbda13f)
src/common/legacy_config_opts.h
src/common/options.cc
src/mon/PGMap.cc