From 1f6b2a4bc38f447739bd4b31bce1266f000d9584 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 9 Jun 2021 17:38:39 +0800 Subject: [PATCH] mon/MonCommands: remove obsolete mon commands the "scrub" command was marked obsolete in e9a5ce0897efc6126caeebea9900bf05ec3d2174, which was included by v15.1.0, but the next release will be v17, so it's long enough to retire this command. Signed-off-by: Kefu Chai --- src/mon/MonCommands.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index d2d00ddfc7ccc..2700c4fbe1418 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -200,9 +200,6 @@ COMMAND("auth rm " COMMAND_WITH_FLAG("compact", "cause compaction of monitor's leveldb/rocksdb storage", "mon", "rw", FLAG(TELL)) -COMMAND_WITH_FLAG("scrub", "scrub the monitor stores", - "mon", "rw", - FLAG(OBSOLETE)) COMMAND("fsid", "show cluster FSID/UUID", "mon", "r") COMMAND("log name=logtext,type=CephString,n=N", "log supplied text to the monitor log", "mon", "rw") -- 2.39.5