-
- Downloads
Use upload ID instead of model ID in lease key
For FileUploaders it's possible that a model has many uploads and if lease key is created only from model id, it causes that the model's uploads can not be migrated in parallel because the exclusive lease key would be same for all uploads of the model.
parent
fa1a75ae
No related branches found
No related tags found
Showing
- app/uploaders/object_storage.rb 9 additions, 4 deletionsapp/uploaders/object_storage.rb
- changelogs/unreleased/47513-upload-migration-lease-key-is-incorrect-for-non-mounted-uploaders.yml 5 additions, 0 deletions...tion-lease-key-is-incorrect-for-non-mounted-uploaders.yml
- spec/support/shared_examples/uploaders/object_storage_shared_examples.rb 2 additions, 4 deletions...ared_examples/uploaders/object_storage_shared_examples.rb
- spec/uploaders/object_storage_spec.rb 12 additions, 0 deletionsspec/uploaders/object_storage_spec.rb
Please register or sign in to comment