Skip to content

ActiveRecord::RecordNotUnique error for Sidekiq/PropagateIntegrationInheritDescendantWorker

Description

After !45529 (merged), we have found a strange bug in the staging environment. It's not happening all the time but sometimes when propagating a group integration to the descendants.

PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_services_on_unique_group_id_and_type"

https://sentry.gitlab.net/gitlab/staginggitlabcom/issues/2057034/

Edited by Arturo Herrero