]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: update pg_creatings even the new acting set is empty 14730/head
authorKefu Chai <kchai@redhat.com>
Sat, 22 Apr 2017 08:42:11 +0000 (16:42 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 22 Apr 2017 08:46:42 +0000 (16:46 +0800)
commit2e7e4ebc2ebf58617ef83bf8217d569465451c88
tree81dabc107faa222e998f9c4b194657a9bfb457d7
parent15e80fa2d87553baf335ec05298af63a81724c7c
mon/OSDMonitor: update pg_creatings even the new acting set is empty

there is chance that the acting set of a PG being created becomes empty,
and then OSDs joins the acting set. in that case, we need also update
the "create" epoch of the creating_pgs, so the new primary can be
updated with the MOSDPCreate message.

Fixes: http://tracker.ceph.com/issues/19744
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc