]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: rework scrub (2)
authorJoao Eduardo Luis <joao@suse.de>
Mon, 20 Apr 2015 13:39:29 +0000 (14:39 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Wed, 27 May 2015 22:48:39 +0000 (23:48 +0100)
commit0a19fd4a2686d07cce632d20d91cf419e41dada6
treee93e42eec97541b111925920e1afe6963a8f8193
parent4c4313d56f8562fd54c372a0667c6ba60c24cb69
mon: Monitor: rework scrub (2)

Instead of hanging while scrubbing all the keys in the store, scrub just
a few keys each time and keep scrubbing until we reach go through all
the keys in the store.

This may miss a few keys if proposals are committed in-between scrub
rounds, but we'll get them eventually (if they are not trimmed first).

Fixes: #11773
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/common/config_opts.h
src/messages/MMonScrub.h
src/mon/Monitor.cc
src/mon/Monitor.h