• Jan Provaznik's avatar
    Use upload ID instead of model ID in lease key · c3f499e7
    Jan Provaznik authored
    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.
    c3f499e7
object_storage.rb 12.1 KB