]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commit
full data sync: treat 404 from bucket list as success
authorJosh Durgin <jdurgin@redhat.com>
Thu, 18 Dec 2014 05:20:21 +0000 (21:20 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 19 Dec 2014 11:22:09 +0000 (03:22 -0800)
commitebd81b016b0c833732e18764a09258826ab8ea4d
treeb4e8ea77410412c976137245a02e817e41a7dcec
parent68924c9ae57c14669e46aadef4135c188c8fb5fb
full data sync: treat 404 from bucket list as success

Since results are paged, the exception may not occur immediately, so
add a new type to distinguish it from other client exceptions, and
catch it at any point during full sync of a bucket.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
radosgw_agent/client.py
radosgw_agent/tests/test_worker.py
radosgw_agent/worker.py