Skip to content

Instantly share code, notes, and snippets.

@clayg
Created April 14, 2015 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clayg/b75428b75ada1e637aab to your computer and use it in GitHub Desktop.
Save clayg/b75428b75ada1e637aab to your computer and use it in GitHub Desktop.
diff --git a/swift/obj/diskfile.py b/swift/obj/diskfile.py
index e6f25ee..d0d4bc5 100644
--- a/swift/obj/diskfile.py
+++ b/swift/obj/diskfile.py
@@ -2203,7 +2203,8 @@ class ECDiskFileManager(DiskFileManager):
files = listdir(hsh_path)
files.sort(reverse=True)
results = self.gather_ondisk_files(files, include_obsolete=True,
- frag_index=frag_index)
+ frag_index=frag_index,
+ verify=False)
if '.durable' in results and not results.get('fragments'):
# a .durable with no .data is deleted as soon as it is found
results.setdefault('obsolete', []).append(results.pop('.durable'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment