]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD::_try_resurrect_pg: fix cur/pgid confusion
authorSamuel Just <sam.just@inktank.com>
Tue, 16 Jul 2013 23:16:47 +0000 (16:16 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 17 Jul 2013 00:33:27 +0000 (17:33 -0700)
commit884fa2fcb6d707b23317bab1da909586ddc27608
tree3afa236774f46614079d5688cd500a91867c2103
parent7e16b72dc3d8aa3b16a17ecbcad9f01d34c1b334
OSD::_try_resurrect_pg: fix cur/pgid confusion

This bug prevented resurrection of ancestor pgs where
necessary.

Fixes: #5269
This may result in pg A being created just before pg B
is resurrected and split into A and B resulting in one
or the other operations getting and EEXIST.

Backport: cuttlefish
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc