]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objecter: reconnect on osd disconnect
authorSage Weil <sage@newdream.net>
Thu, 21 Oct 2010 18:37:45 +0000 (11:37 -0700)
committerSage Weil <sage@newdream.net>
Thu, 21 Oct 2010 18:37:45 +0000 (11:37 -0700)
commit814f9dbdc57238d4e10c8e93fc298e9d3744516b
tree6656d364544cc3b8e59b952e88d8d5cd84022ad3
parent78660cd6ebd9456a26df10c39a13226267061745
objecter: reconnect on osd disconnect

If the connection closes to an OSD, we need to reconnect and resubmit our
ops.  Otherwise we just hang.  This is problematic if it is a transient
error, since we'll only retry if the OSDMap reflects a change, and that
won't happen for transient network/socket errors and such.

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