]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: do not adjust pg_num until FLAG_CREATING removed from pool
authorSage Weil <sage@redhat.com>
Sat, 7 Apr 2018 02:53:35 +0000 (21:53 -0500)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commit101671d95a506d4bf3166a6331c9abd0330711a1
treebd23029974c10b6886a812ea72e910223acc873b
parentf4f014937dc7b1cc5ac7927084e3af5f05a7c529
mgr: do not adjust pg_num until FLAG_CREATING removed from pool

This is more reliable than looking at PG states because the PG may have
gone active and sent a notification to the mon (pg created!) and mgr
(new state!) but the mon may not have persisted that information yet.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/DaemonServer.cc