]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: make busy creating pgs message more explicit 592/head
authorSage Weil <sage@inktank.com>
Thu, 12 Sep 2013 14:20:02 +0000 (07:20 -0700)
committerSage Weil <sage@inktank.com>
Thu, 12 Sep 2013 14:20:02 +0000 (07:20 -0700)
Fixes: #6287
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc

index 8eb88a829b1ea9be6a9e4696c910ef4b010c4af2..73d24c9f05ca19f127e12e66702f91ed29c5511f 100644 (file)
@@ -3598,7 +3598,7 @@ done:
          ss << "specified pg_num " << n << " <= current " << p->get_pg_num();
          err = -EINVAL;
        } else if (!mon->pgmon()->pg_map.creating_pgs.empty()) {
-         ss << "currently creating pgs, wait";
+         ss << "busy creating pgs; try again later";
          err = -EAGAIN;
        } else {
          pending_inc.get_new_pool(pool, p)->set_pg_num(n);
@@ -3608,7 +3608,7 @@ done:
        if (n > p->get_pg_num()) {
          ss << "specified pgp_num " << n << " > pg_num " << p->get_pg_num();
        } else if (!mon->pgmon()->pg_map.creating_pgs.empty()) {
-         ss << "still creating pgs, wait";
+         ss << "busy creating pgs; try again later";
          err = -EAGAIN;
        } else {
          pending_inc.get_new_pool(pool, p)->set_pgp_num(n);