Skip to content

Instantly share code, notes, and snippets.

@clayg
Created April 14, 2015 06:53
diff --git a/swift/obj/reconstructor.py b/swift/obj/reconstructor.py
index 92bf462..0ee2afb 100644
--- a/swift/obj/reconstructor.py
+++ b/swift/obj/reconstructor.py
@@ -434,7 +434,7 @@ class ObjectReconstructor(Daemon):
conn = http_connect(
node['replication_ip'], node['replication_port'],
node['device'], job['partition'], 'REPLICATE',
- '/' + '-'.join(suffixes),
+ '/' + '-'.join(sorted(suffixes)),
headers=self.headers)
conn.getresponse().read()
except (Exception, Timeout):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment