From: Sage Weil Date: Sat, 5 Aug 2017 19:33:37 +0000 (-0400) Subject: mon/MonCommands: mark 'pg force_create_pg' deprecated X-Git-Tag: v12.1.3~34 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=52c51de0fe2a5bd4bc3412e42f691cfb54b6428f;p=ceph.git mon/MonCommands: mark 'pg force_create_pg' deprecated It's deprecated. Also, this avoids a dup when we have an upgrading mon cluster and it's also in PGMonitorCommands. Signed-off-by: Sage Weil (cherry picked from commit 7c37c86bb20ebc16c1d34a3acb7ad3f183d6e0e0) --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 62e09c510e2c..c7a5401f229a 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -123,8 +123,9 @@ */ // note: this should be replaced shortly! -COMMAND("pg force_create_pg name=pgid,type=CephPgid", \ - "force creation of pg ", "pg", "rw", "cli,rest") +COMMAND_WITH_FLAG("pg force_create_pg name=pgid,type=CephPgid", \ + "force creation of pg ", "pg", "rw", "cli,rest", + FLAG(DEPRECATED)) COMMAND_WITH_FLAG("pg set_full_ratio name=ratio,type=CephFloat,range=0.0|1.0", \ "set ratio at which pgs are considered full", \ "pg", "rw", "cli,rest", FLAG(DEPRECATED))