summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-09-20 15:44:34 -0700
committerDan Mick <dan.mick@inktank.com>2013-09-20 15:44:34 -0700
commit08a97ae45f4df58a6a8ea8a6400934d860cf5eb4 (patch)
tree7004896428bdde31e85007c850ff9e12a5157c73
parent2d089e4644b623adb58ca8c0c924d2516efcac86 (diff)
parent46337296949b330cbbe88474ae0c2ad16b1512ef (diff)
downloadceph-08a97ae45f4df58a6a8ea8a6400934d860cf5eb4.tar.gz
Merge pull request #592 from ceph/wip-6287
mon/OSDMonitor: make busy creating pgs message more explicit Reviewed-by: Dan Mick <dan.mick@inktank.com>
-rw-r--r--src/mon/OSDMonitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc
index 366093e91a3..df614eedb92 100644
--- a/src/mon/OSDMonitor.cc
+++ b/src/mon/OSDMonitor.cc
@@ -3599,7 +3599,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);
@@ -3609,7 +3609,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);