]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
OSDMonitor: pg split is no longer experimental
authorSamuel Just <sam.just@inktank.com>
Fri, 19 Apr 2013 20:21:01 +0000 (13:21 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 19 Apr 2013 22:23:53 +0000 (15:23 -0700)
Fixes: #4711
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/mon/OSDMonitor.cc

index 8868189446debf2b3a74f9ac30a2557b05f406df..348d3130e1c47068c1687bad45631915a3fc5f87 100644 (file)
@@ -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";