]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
monclient: pass EAGAIN to is_latest_map() callers
authorSage Weil <sage@inktank.com>
Mon, 27 Aug 2012 04:17:05 +0000 (21:17 -0700)
committerSage Weil <sage@inktank.com>
Tue, 28 Aug 2012 00:25:56 +0000 (17:25 -0700)
commit7d40cba2414bf214252b0d05551cf9730751460b
tree0e109abc480952c817bc1dc9ce57c24bc376b9cd
parent0adc2289d6ef29c2a281e2122c91d6006937bbfc
monclient: pass EAGAIN to is_latest_map() callers

If our map get_version check needs to be retried, tell the
is_latest_map() callers instead of giving returning 0 ("no").

Fixes: #3049
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/MonClient.cc
src/mon/MonClient.h