Skip to content

Advanced Search: Fix inaccessible ES server error

Dmitry Gruzd requested to merge 327847-fix-migration-has-finished into master

What does this MR do?

This MR fixes a couple of methods in Elastic::MigrationRecord to make them more resilient to failures like inaccessible ES url or missing index. This is important since we call these methods in after commit hooks, which might result in 500 like it was in the original bug report #327847 (closed)

Screenshots or Screencasts (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] 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

Closes #327847 (closed)

Edited by Dmitry Gruzd

Merge request reports