]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: handle ESTALE redirection in make_request(), not reply handler
authorSage Weil <sage@inktank.com>
Fri, 8 Mar 2013 21:17:23 +0000 (13:17 -0800)
committerSage Weil <sage@inktank.com>
Wed, 13 Mar 2013 23:36:56 +0000 (16:36 -0700)
commit6d0b7c83fd1afc1b13cf406c3d618bd5543a1ffb
tree0f026b6bfa3f00a33a822fcd26bc2c84b91d3924
parent80e81ec4d2b76bf46b700c76602d15238fbc4205
client: handle ESTALE redirection in make_request(), not reply handler

Resending the request in the reply handler is a bit fugly and throws a
small wrench into moving to a MetaSession*-based approach.  Check for
the case(s) where we *do* return ESTALE explicitly and fall through.
Otherwise, kick the caller and let them retry.

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