]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: restart peering if requesting acting osd goes down
authorSage Weil <sage@newdream.net>
Tue, 31 Jan 2012 17:53:32 +0000 (09:53 -0800)
committerSage Weil <sage@newdream.net>
Tue, 31 Jan 2012 19:44:08 +0000 (11:44 -0800)
commit5a544836c0cdd68490f8031fb5af33c71fbc53e3
treeb3c5cda89f0fd2497433561a4c7521883af13802
parent9dfa46ffc11975ed07d31cbf375ee3e3349aa2d9
osd: restart peering if requesting acting osd goes down

If we request an acting set, we need to restart peering if one of the
requested nodes goes down.  This prevents a deadlock where we get stuck
in WaitActingChange because we have [a,b], want [a,b,c], but c is down and
our up and acting don't actually change.

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