Update Advanced Search reindex logic after having issues in its own index
This issue probably should be handled together with Copy issues to new index. As we utilize Elasticsearch reindex API to handle reindex, we need to account for two indices when performing reindex tasks after we move issues off to its own index.
This change may need to be released together with Copy issues to new index. Or in order to iterate faster, we could also consider disabling the re-index feature temporarily if it's acceptable.
Epic order
- Remove joins from the Elasticsearch query for project/group scoped issues search
- De-normalize the issue permission data. <-- will include migration and can be done in multiple MRs
- Remove joins from the Elasticsearch query for globally scoped issues search
- Migration to copy issue data to new index
- Migration to remove issue data from combined index **
- Rake task changes to support new index **
- Backend changes for supporting new indexes during Zero Downtime Re-indexing **
- Admin UI changes to support new index (any time after new index created/data migrated to it)
** must be released in conjunction with the Migration to copy issue data to new index
Edited by Terri Chu