Skip to content

Instantly share code, notes, and snippets.

@clayg
Created September 14, 2016 20:04
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/0b7e223fa2b276b273c683f1772541b7 to your computer and use it in GitHub Desktop.
Save clayg/0b7e223fa2b276b273c683f1772541b7 to your computer and use it in GitHub Desktop.
diff --git a/swift/obj/reconstructor.py b/swift/obj/reconstructor.py
index 2b54ab8..71745ed 100644
--- a/swift/obj/reconstructor.py
+++ b/swift/obj/reconstructor.py
@@ -248,6 +248,7 @@ class ObjectReconstructor(Daemon):
# KISS send out connection requests to all nodes, see what sticks
headers = self.headers.copy()
headers['X-Backend-Storage-Policy-Index'] = int(job['policy'])
+ headers['X-Backend-Fragment-Preferences'] = '[]'
pile = GreenAsyncPile(len(part_nodes))
path = datafile_metadata['name']
for node in part_nodes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment