]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: MonCommands.h: DEPRECATE 'ceph scrub'
authorJoao Eduardo Luis <joao@suse.de>
Fri, 8 May 2015 18:14:16 +0000 (19:14 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Thu, 16 Jul 2015 11:20:02 +0000 (12:20 +0100)
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/MonCommands.h

index dc335f9109b3ce077daee27b149052af6889dd0e..17a59b92a3b0c2e3c00f8f4c23178f0f4568e6ec 100644 (file)
@@ -225,7 +225,9 @@ COMMAND("auth del " \
  */
 COMMAND_WITH_FLAG("compact", "cause compaction of monitor's leveldb storage", \
             "mon", "rw", "cli,rest", FLAG(NOFORWARD))
-COMMAND("scrub", "scrub the monitor stores", "mon", "rw", "cli,rest")
+COMMAND_WITH_FLAG("scrub", "scrub the monitor stores (DEPRECATED)", \
+             "mon", "rw", "cli,rest", \
+             FLAG(DEPRECATED))
 COMMAND("fsid", "show cluster FSID/UUID", "mon", "r", "cli,rest")
 COMMAND("log name=logtext,type=CephString,n=N", \
        "log supplied text to the monitor log", "mon", "rw", "cli,rest")