]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: don't create pgs if pool was deleted
authorJoao Eduardo Luis <joao@suse.de>
Fri, 8 Sep 2017 11:48:12 +0000 (12:48 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 11 Sep 2017 14:47:39 +0000 (16:47 +0200)
commit1264bae1a8639e4ce83c0fdf96c23d1826009c2a
tree3cbccba4b8dddbf9e3a1836295b9ec540084882f
parentdebb1d97e66b4661147cd192dd15662868f473f3
mon/OSDMonitor: don't create pgs if pool was deleted

A pool may be deleted while in the process of creating pgs. If that
happens, we should not queue additional pgs from that pool to be
created.

Fixes: http://tracker.ceph.com/issues/21309
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
(cherry picked from commit 7a8a88032ec0bf7f1b485419a11646d7441faf2c)
src/mon/CreatingPGs.h