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 <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-08-05 15:33:37 -04:00
parent 2d9045a9a5
commit 7c37c86bb2

View File

@ -123,8 +123,9 @@
*/
// note: this should be replaced shortly!
COMMAND("pg force_create_pg name=pgid,type=CephPgid", \
"force creation of pg <pgid>", "pg", "rw", "cli,rest")
COMMAND_WITH_FLAG("pg force_create_pg name=pgid,type=CephPgid", \
"force creation of pg <pgid>", "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))