]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: DataHealthService: monitor backing store's size and report it 526/head
authorJoao Eduardo Luis <jecluis@gmail.com>
Thu, 22 Aug 2013 15:08:22 +0000 (16:08 +0100)
committerJoao Eduardo Luis <jecluis@gmail.com>
Sat, 24 Aug 2013 13:16:11 +0000 (14:16 +0100)
commit96621bdb004e539a0186fb592f44d51cf49f1c31
tree3660443a3e2eed3af4a6fe2d3903bbf9d1169286
parent46fb86aaab30a1c1c99fc12181055069f39c4a64
mon: DataHealthService: monitor backing store's size and report it

If the store's size grows beyond what we believe to be reasonable, we must
let the user know that something fishy may be going on.  This intends to
act as an early warning system for monitors suffering from leveldb
compaction issues.  However, if the monitor's store is just growing a lot
due to normal cluster behaviour, we made sure that the warning threshold
is adjustable by tuning 'mon_leveldb_size_warn' (defaulting to 40GB).

Fixes: #5909
Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
src/common/config_opts.h
src/mon/DataHealthService.cc
src/mon/DataHealthService.h
src/mon/mon_types.h