Skip to content

Add ability to pause and resume Elasticsearch indexing

Dmitry Gruzd requested to merge 204826-pause-indexing into master

What does this MR do?

This MR implements pause elasticsearch indexing button, it pauses a few workers

Pausing the cron worker is straightforward, but pausing sidekiq workers requires a separate queue to store incoming jobs. We use ZSET with unique scores for each job to maintain the execution order.

#204826 (closed)

Screenshots

Screenshot_2020-05-13_at_14.27.08

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
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading