]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter: follow redirect replies from the OSD
authorGreg Farnum <greg@inktank.com>
Tue, 3 Sep 2013 23:42:33 +0000 (16:42 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 10 Sep 2013 22:33:49 +0000 (15:33 -0700)
commitfbbe3ad1220799b7bb00ea30fce581c5eadaf034
tree6c484d63eab4a728941036c90a55a3f07adafc91
parent29133fdae55ceb15562687e0a668da3659ba0ff2
Objecter: follow redirect replies from the OSD

If we get back a redirect reply, we clean up the Op's external references
and re-send using the target_oloc and target_oid. To facilitate this,
recalc_op_target() now only fills them in and overrides them with pool
cache semantics if they're empty.

Keep in mind that this is a pretty simple redirect formula -- the
Objecter will keep following redirects forever if that's what the OSDs
send back. The client is not providing any synchronization right now.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osdc/Objecter.cc