Skip to content

Fix retry migration button

Dmitry Gruzd requested to merge fix-retry-migration-button into master

What does this MR do?

While working on #323310 (closed) I noticed that Retry migration button is always disabled. It turned out that we were passing a new Elastic::ReindexingTask object instead of a persisted one.

You can open the admin page by visiting /admin/application_settings/advanced_search and pressing Expand for the Advanced Search section. In order to cause the migration to be halted you can use this guide

Screenshots (strongly suggested)

Before

Screenshot_2021-06-02_at_12.55.11

After

Screenshot_2021-06-02_at_12.55.22

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
Edited by Dmitry Gruzd

Merge request reports