Skip to content

Fix the query when migration add_suffix_project_in_wiki_rid not finished

Ravi Kumar requested to merge get-results-from-old-new-rid-for-wiki into master

What does this MR do and why?

There was a bug in Elastic query that when the migration add_suffix_project_in_wiki_rid is still running means some documents' rid got changed in that case we were still trying to search the documents with the old rid structure. This fix will try to search the documents with old and new rid if the migration add_suffix_project_in_wiki_rid is not finished.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ravi Kumar

Merge request reports