]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objecter: fix is_latest_map() retry on mon session restart
authorSage Weil <sage@inktank.com>
Mon, 27 Aug 2012 04:21:44 +0000 (21:21 -0700)
committerSage Weil <sage@inktank.com>
Tue, 28 Aug 2012 00:25:57 +0000 (17:25 -0700)
commite59b9daefcd06ee1fc0543924dcd6e8ff537db3e
tree4a8a13196d3f637829e2cdc97ee88403968de110
parent7d40cba2414bf214252b0d05551cf9730751460b
objecter: fix is_latest_map() retry on mon session restart

If the mon session drops, we get an EAGAIN callback, which we already
correctly ignored.  (Clean this up and comment so it's clearer what is
going on.)

Fix ms_handle_connect() to resubmit those requests.

Noticed while fixing #3049.

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