From 1814d7441bbb53a3d99c7a779a68b8f5e84fd169 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Fri, 8 May 2015 19:14:16 +0100 Subject: [PATCH] mon: MonCommands.h: DEPRECATE 'ceph scrub' Signed-off-by: Joao Eduardo Luis --- src/mon/MonCommands.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index dc335f9109b..17a59b92a3b 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -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") -- 2.47.3