Skip to content

Configure Elasticsearch Ruby client without retry by default

Changzheng Liu requested to merge 297204-default-es-client-no-retry into master

What does this MR do?

Per description in the issue, the Elasticsearch ruby client retries 3 times on failure by default. We suggest to not retry on failure. Also, we want to leave an option to overwrite the default retry setting.

For details on how Elasticsearch ruby retry works, please refer to

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (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

Related to #297204 (closed)

Edited by Changzheng Liu

Merge request reports