]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: pg_interval_t::check_new_interval should not rely on pool.min_size to determine... 5093/head
authorGuang G Yang <yguang@renownedground.corp.gq1.yahoo.com>
Thu, 2 Jul 2015 05:29:47 +0000 (05:29 +0000)
committerGuang G Yang <yguang@renownedground.corp.gq1.yahoo.com>
Mon, 13 Jul 2015 17:42:56 +0000 (17:42 +0000)
commit684927442d81ea08f95878a8af69d08d3a14d973
tree99c3068a3896118d9a6d1006d41159eafbd65605
parent466b083166231ec7e4c069fef8c9e07d38accab9
osd: pg_interval_t::check_new_interval should not rely on pool.min_size to determine if the PG was active

If the pool's min_size is set improperly, during peering, pg_interval_t::check_new_interval
might wrongly determine the PG's state and cause the PG to stuck at down+peering forever

Fixes: #12162
Signed-off-by: Guang Yang yguang@yahoo-inc.com
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
src/osd/osd_types.cc
src/osd/osd_types.h
src/test/osd/types.cc