]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: enable split in Monitor
authorSamuel Just <sam.just@inktank.com>
Wed, 19 Sep 2012 16:23:21 +0000 (09:23 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 5 Dec 2012 19:34:18 +0000 (11:34 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/mon/OSDMonitor.cc

index c845c2b600cbd69e40add5426e413e195fce2ad1..b2805849af1be76593e96e955905208533717075 100644 (file)
@@ -2740,11 +2740,6 @@ bool OSDMonitor::prepare_command(MMonCommand *m)
              paxos->wait_for_commit(new Monitor::C_Command(mon, m, 0, rs, paxos->get_version()));
              return true;
            } else if (m->cmd[4] == "pg_num") {
-             if (true) {
-               // ** DISABLE THIS FOR NOW **
-               ss << "pg_num adjustment currently disabled (broken implementation)";
-               // ** DISABLE THIS FOR NOW **
-             } else
              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()) {