]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commitdiff
worker: process full sync for buckets with no log
authorJosh Durgin <jdurgin@redhat.com>
Mon, 10 Nov 2014 23:39:22 +0000 (15:39 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 24 Nov 2014 23:46:08 +0000 (15:46 -0800)
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 <jdurgin@redhat.com>
radosgw_agent/worker.py

index bfdd9f6844059a879a784ba0e8ba0f659edd0f34..c7cb6842f4f0f2cc6ee88a77755bce22d94a443f 100644 (file)
@@ -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: