Merge "Ignore all auditor_status_*.json files in reconstructor"

This commit is contained in:
Jenkins
2017-10-09 12:08:38 +00:00
committed by Gerrit Code Review

View File

@@ -1097,8 +1097,9 @@ class ObjectReconstructor(Daemon):
self.part_count += len(partitions)
for partition in partitions:
part_path = join(obj_path, partition)
if partition in ('auditor_status_ALL.json',
'auditor_status_ZBF.json'):
if (partition.startswith('auditor_status_') and
partition.endswith('.json')):
# ignore auditor status files
continue
if not partition.isdigit():
self.logger.warning(