Skip to content

Advanced Search: Remove legacy ReindexingService

What does this MR do?

To support reindexing processes in progress when making the change to support retries, the original service was renamed LegacyReindexingService and kicked off if the Elastic::ReindexingSubtask had an elastic_task record filled out. We need to clean up that logic to remove the legacy service and all related specs in the following files:

  • ee/app/services/elastic/legacy_reindexing_service.rb
  • ee/app/workers/elastic_cluster_reindexing_cron_worker.rb
  • ee/spec/services/elastic/legacy_reindexing_service_spec.rb
  • ee/spec/workers/elastic_cluster_reindexing_cron_worker_spec.rb

#329566 (closed)

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

Edited by Dmitry Gruzd

Merge request reports

Loading