Skip to content

Add timeout for gitlab-elasticsearch-indexer

Dmitry Gruzd requested to merge 323856-indexer-add-timeout into master

What does this MR do?

This MR uses newly added --timeout option to prevent gitlab-elasticsearch-indexer processes from running longer than the lock timeout in Gitlab::Elastic::Indexer.

#323856 (closed)

Rollout plan

  1. Add --timeout to gitlab-elasticsearch-indexer. (gitlab-elasticsearch-indexer!112 (merged))
  2. Bump up gitlab-elasticsearch-indexer version to 2.12.0 (gitlab-elasticsearch-indexer!114 (merged))
  3. (We're here) Use --timeout config option in Gitlab::Elastic::Indexer and update the indexer to the latest version

Screenshots (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 #323856 (closed)

Edited by Dmitry Gruzd

Merge request reports

Loading