Skip to content

Commit e67a57f

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "Fixups for ghost listing fix"
2 parents d8673e4 + 765cc94 commit e67a57f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

swift/obj/updater.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def object_update(self, node, part, op, obj, headers_out):
271271
resp.read()
272272
success = is_success(resp.status)
273273
if not success:
274-
self.logger.error(
274+
self.logger.debug(
275275
_('Error code %(status)d is returned from remote '
276276
'server %(ip)s: %(port)s / %(device)s'),
277277
{'status': resp.status, 'ip': node['ip'],

test/probe/test_object_async_update.py

+3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ def test_missing_container(self):
109109
self.assertFalse(direct_client.direct_get_container(
110110
cnode, cpart, self.account, container)[1])
111111

112+
# since the container is empty - we can delete it!
113+
client.delete_container(self.url, self.token, container)
114+
112115
# Re-run the object-updaters and now container replicas in primary
113116
# container servers should get updated
114117
Manager(['object-updater']).once()

0 commit comments

Comments
 (0)