]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: fix upmap mis-killing for erasure-coded PGs 25365/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 1 Dec 2018 09:42:01 +0000 (17:42 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 4 Dec 2018 06:31:50 +0000 (14:31 +0800)
commitf043dcc6d8663ed960a354b2441fd3f8dd66c62d
tree06262df39f7bbd15e602861bb6397aef2ca17773
parent4d3cc9f9092d8a86d128192a811733ce23ad070a
osd/OSDMap: fix upmap mis-killing for erasure-coded PGs

The up-set of erasure-coded PGs may include CRUSH_ITEM_NONE,
which as a result causes mis-killing of valid upmap items.

Fixes: https://tracker.ceph.com/issues/37493
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: ningtao <ningtao@sangfor.com.cn>
src/osd/OSDMap.cc
src/test/osd/TestOSDMap.cc