mon: MonCommands.h: DEPRECATE 'ceph compact'

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
This commit is contained in:
Joao Eduardo Luis 2015-05-08 19:14:42 +01:00
parent 1814d7441b
commit 9073ff4f2e

View File

@ -223,8 +223,9 @@ COMMAND("auth del " \
/*
* Monitor commands (Monitor.cc)
*/
COMMAND_WITH_FLAG("compact", "cause compaction of monitor's leveldb storage", \
"mon", "rw", "cli,rest", FLAG(NOFORWARD))
COMMAND_WITH_FLAG("compact", "cause compaction of monitor's leveldb storage (DEPRECATED)", \
"mon", "rw", "cli,rest", \
FLAG(NOFORWARD)|FLAG(DEPRECATED))
COMMAND_WITH_FLAG("scrub", "scrub the monitor stores (DEPRECATED)", \
"mon", "rw", "cli,rest", \
FLAG(DEPRECATED))