]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_op: return 503 if forward_req fails 8605/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 14 Apr 2016 16:23:26 +0000 (18:23 +0200)
committerAbhishek Lekshmanan <alekshmanan@suse.com>
Thu, 14 Apr 2016 19:00:53 +0000 (21:00 +0200)
commitff52fa0ce73766c8154fdce55b5339ab68ab4c11
tree7c2a7ff3a008900cd3e811318740eeaf71dddd7f
parentfc33129300c7ea8553e651ed74be0c7d445a2655
rgw_op: return 503 if forward_req fails

Return 503 for requests when we have a failure from
forward_request_to_master, we can probably fine tune things a little
here in the future by making rest_client and http_client return more
correct error messages depending on various failures

Fixes: http://tracker.ceph.com/issues/15501
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rest_client.cc