From: Josh Durgin Date: Mon, 10 Nov 2014 23:39:22 +0000 (-0800) Subject: worker: process full sync for buckets with no log X-Git-Tag: v1.2~5^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6dcd568fc7094a4dea7edb583342a9fca09f0749;p=radosgw-agent.git worker: process full sync for buckets with no log This way we catch objects that were uploaded before zones or data logs were set up. If there are actually no objects in the bucket, the bucket listing will tell us that. Signed-off-by: Josh Durgin --- diff --git a/radosgw_agent/worker.py b/radosgw_agent/worker.py index bfdd9f6..c7cb684 100644 --- a/radosgw_agent/worker.py +++ b/radosgw_agent/worker.py @@ -365,9 +365,6 @@ class DataWorkerFull(DataWorker): except client.NotFound: marker = '' log.debug('bucket instance is "%s" with marker %s', instance, marker) - # nothing to do for this bucket - if not marker: - return True objects = client.list_objects_in_bucket(self.src_conn, bucket) if not objects: