Error 500 when viewing an artifact: ObjectStorage::ExclusiveLeaseTaken: ObjectStorage::ExclusiveLeaseTaken
https://sentry.gitlap.com/gitlab/gitlabcom/issues/228530/
ObjectStorage::ExclusiveLeaseTaken: ObjectStorage::ExclusiveLeaseTaken
object_storage.rb:401:in `with_exclusive_lease'
raise ExclusiveLeaseTaken.new(lease_key) unless uuid
object_storage.rb:246:in `use_file'
with_exclusive_lease do
ci/build.rb:428:in `artifacts_metadata_entry'
artifacts_metadata.use_file do |metadata_path|
delegate.rb:83:in `method_missing'
target.__send__(m, *args, &block)
projects/artifacts_controller.rb:100:in `entry'
@entry = build.artifacts_metadata_entry(params[:path])
...
(129 additional frame(s) were not displayed)
ObjectStorage::ExclusiveLeaseTaken: Exclusive lease for object_storage_migrate:Ci::JobArtifact is already taken.