From: Alfredo Deza Date: Thu, 5 Feb 2015 16:36:02 +0000 (-0500) Subject: add a couple of logging statements when detecting a versioned object X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=110faa5e6a01a5f4f697abce89ada7e3ab9a101a;p=radosgw-agent.git add a couple of logging statements when detecting a versioned object Signed-off-by: Alfredo Deza --- diff --git a/radosgw_agent/client.py b/radosgw_agent/client.py index c1a1df8..70d7a17 100644 --- a/radosgw_agent/client.py +++ b/radosgw_agent/client.py @@ -302,8 +302,10 @@ def sync_object_intra_region(connection, bucket_name, obj, src_zone, } if is_versioned(obj): + log.debug('detected obj as versioned: %s' % obj.name) # delete_marker may not exist in the obj if getattr(obj, 'delete_marker', None) is True: + log.debug('obj %s has a delete_marker, marking for deletion' % obj.name) # when the object has a delete marker we need to create it with # a delete marker on the destination rather than copying return mark_delete_object(connection, bucket_name, obj, params=params)