From 6dcd568fc7094a4dea7edb583342a9fca09f0749 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 10 Nov 2014 15:39:22 -0800 Subject: [PATCH] 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 --- radosgw_agent/worker.py | 3 --- 1 file changed, 3 deletions(-) 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: -- 2.47.3