mirror of
https://github.com/ceph/ceph
synced 2025-01-09 20:52:09 +00:00
mon/OSDMonitor: enable split in Monitor
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
b8a37fdf6c
commit
b6c49b484a
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user