]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: PriorSet: acting/up membership implies still alive
authorSage Weil <sage@newdream.net>
Fri, 21 Oct 2011 16:14:15 +0000 (09:14 -0700)
committerSage Weil <sage@newdream.net>
Fri, 21 Oct 2011 16:14:15 +0000 (09:14 -0700)
commit29899de55089e54b5a225697256ee8b06fc20799
treef0bdd1896d915d1505a918e9ef416b6affef7aee
parenta1ddec2a130e4344e00db7cd03c9c3f049697405
osd: PriorSet: acting/up membership implies still alive

If the osd is in the acting or up sets, we can assume they are still alive,
even though we don't know that for sure, because if they are not, we will
rebuild PriorSet.

Note that we have a dependency here on up_thru that we could/should rebuild
PriorSet based on, IF we think it might change the value of the CRASHED
flag and IF we care enough.  Right now we don't.  Marking CRASHED when we
don't need to is conservative, and not dangerous.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/PG.cc