]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: number of degraded objects in EC pool is wrong when there is OSD down(in) 3729/head
authorGuang Yang <yguang@yahoo-inc.com>
Fri, 13 Feb 2015 09:19:30 +0000 (09:19 +0000)
committerGuang Yang <yguang@yahoo-inc.com>
Fri, 13 Feb 2015 23:10:15 +0000 (23:10 +0000)
commite7735d31efa5506f9aa04d39ccfba55e9458a96c
treeb0c701102903b13a5542cae1828014316fa80a1b
parent7da93518fdf1dce693723418dedb726fb4608df8
osd: number of degraded objects in EC pool is wrong when there is OSD down(in)

With EC pool (crush rule choose indep), when there is an OSD down, the size of the 'acting' list does not change (CRUSH_ITEM_NONE is used to replace the down OSD), in this case, 'actingset' should be used to calculate the degraded objects.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
src/osd/PG.cc