Skip to content

Fix ElasticCommitIndexerWorker FK violation

Dmitry Gruzd requested to merge 240923-fix-foreign-key-violation into master

What does this MR do?

This MR fixes ElasticCommitIndexerWorker - ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation error. Also, it logs events when the project was deleted while indexing is in progress.

#240923 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #240923 (closed)

Edited by Dmitry Gruzd

Merge request reports