]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add retry/backoff to sync agent requests
authorCasey Bodley <cbodley@redhat.com>
Tue, 15 Nov 2016 16:24:25 +0000 (11:24 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 17 Nov 2016 15:30:00 +0000 (10:30 -0500)
commit0e046c6140dc202590481233fd68c489ef6fee83
tree695966ba74cb77b238690851db4f8c1e492b762d
parent53e92aae85902fc227856ecfbbea162e5370bbc3
rgw: add retry/backoff to sync agent requests

resolves an issue where startup of the radosgw-agent races with the
requests we send to it to run sync. uses the requests package with
urllib3 to add retry with backoff to these requests

Fixes: http://tracker.ceph.com/issues/16129
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 69bbafa804993d2a6cec608ac4f2eb4bfbb01753)
tasks/util/rgw.py