Don't raise an error on duplicate placements

This can happen if two pushes are racing on the same storage.
This commit is contained in:
Joseph Schorr 2016-07-19 16:44:05 -04:00
parent 5c9d55ecbd
commit b8d2570725
2 changed files with 4 additions and 2 deletions

View file

@ -46,7 +46,6 @@ class StorageReplicationWorker(QueueWorker):
return True
# For any missing storage locations, initiate a copy.
storage_paths = StoragePaths()
existing_location = list(partial_storage.locations)[0]
for location in locations_missing: