]> 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>
Wed, 16 Nov 2016 14:33:18 +0000 (09:33 -0500)
commit69bbafa804993d2a6cec608ac4f2eb4bfbb01753
treeebdd13aee2cd1fe23e42e104450b232ef1d08f74
parentec33331596ad78085c387208a7ef0bd13ce5483d
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>
tasks/util/rgw.py