Skip to content

Change elastic_index_use_trigger_indexing FF to beta and default enable

Terri Chu requested to merge 434580-change_to_beta_and_default-enable-flag into master

What does this MR do and why?

Related to #434580 and #421298 (closed)

This MR changes the elastic_index_use_trigger_indexing FF to a beta type. This is to allow the FF to have default set to true. We want to leave this FF in for a few milestones to allow SM customers to disable it if there are issues.

This is part of a fix for issues with gitlab:elastic:index rake task where cluster indexing operations created indices with incorrect settings before the rake task could create them.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

echo "Feature.enable(:elastic_index_use_trigger_indexing)" | gdk rails c
➜ bundle exec rake gitlab:elastic:index
Scheduling indexing with TriggerIndexingWorker
Scheduling indexing with TriggerIndexingWorker... done

logs can be seen in log/elasticsearch.log

Edited by Terri Chu

Merge request reports