summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-04-19 13:21:01 -0700
committerSamuel Just <sam.just@inktank.com>2013-04-19 15:23:53 -0700
commitad845e61b9c0e19915de527e09ec1f8747b92df8 (patch)
tree0ddd0ae63597b237f67abe4e15b753754edc3f2b
parent095dc4f6ba3dac8e17761338fc02ee430ba15b6e (diff)
downloadceph-ad845e61b9c0e19915de527e09ec1f8747b92df8.tar.gz
OSDMonitor: pg split is no longer experimental
Fixes: #4711 Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com>
-rw-r--r--src/mon/OSDMonitor.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc
index 8868189446d..348d3130e1c 100644
--- a/src/mon/OSDMonitor.cc
+++ b/src/mon/OSDMonitor.cc
@@ -3396,12 +3396,7 @@ bool OSDMonitor::prepare_command(MMonCommand *m)
wait_for_finished_proposal(new Monitor::C_Command(mon, m, 0, rs, get_version()));
return true;
} else if (m->cmd[4] == "pg_num") {
- if (m->cmd.size() < 7 ||
- m->cmd[6] != "--allow-experimental-feature") {
- ss << "increasing pg_num is currently experimental, add "
- << "--allow-experimental-feature as the last argument "
- << "to force";
- } else if (n <= p->get_pg_num()) {
+ if (n <= p->get_pg_num()) {
ss << "specified pg_num " << n << " <= current " << p->get_pg_num();
} else if (!mon->pgmon()->pg_map.creating_pgs.empty()) {
ss << "currently creating pgs, wait";