Make GitLab compatible with new versions of OpenSearch and Elasticsearch

While investigating customer(s) reporting that they could not use OpenSearch with GitLab 15.0 #363714 (closed).

The error blocked the installation.

Elasticsearch version not compatible.

This bug caused elasticsearch to be reported as the distribution even when OpenSearch was used.

To resolve this, we need to do the following actions.

  1. Make sure the needed MRs are in the upcoming patch.
  2. Add customer messaging for Indexing Paused
  3. Remove all upward bounds on error checking. Any upward bounds unless known to have incompatible issues.
  4. Account for distribution to be blank, beta, and not-recognized.
  5. Research a workaround for the customers immediately impacted by Not being able to use OpenSearch because of the compatibility check.
  6. Figure out if OpenSearch 2.0 is still compatible with GitLab.
  7. Update the nightly pipelines to test for the newest versions of Elasticsearch and Opensearch.

After:

  • Provide details on what is needed to include RC testing prior to the official distribution.
  • Determine what is needed for conducting frequent version testing and publishing the results of this testing.
  • Determine how we can benchmark accuracy between OpenSearch and Elasticsearch.

Strategic:

  • Determine full user interest in OpenSearch and create a way to determine if the general interest is switching from Elasticsearch.
  • Determine what indicators would tell us that GitLab.com should switch to OpenSearch.
Edited by John McGuire