Project

General

Profile

Actions

Cleanup #6287

closed

OSDmonitor.c message "still creating pgs, wait" should be explicit about canceling action

Added by Nigel Williams over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

In the case where the cluster is still busy creating PGs after a 'pool set pg_num' and a 'pool set pgp_num' is done, the message produced is:

root@ceph3:~# ceph osd pool set data pgp_num 3000
still creating pgs, wait

There is no indication that Ceph ignored the command rather than deferring it.

Instead it should read:

root@ceph3:~# ceph osd pool set data pgp_num 3000
busy creating pgs; retry this command later; command not actioned.

Line 3611: https://github.com/ceph/ceph/blob/master/src/mon/OSDMonitor.cc

ss << "busy creating pgs; retry this command later; command not actioned.";

Actions #1

Updated by Sage Weil over 10 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF