Implement force for wiki indexing
What does this MR do and why?
Implementing the force
option in ElasticWikiIndexerWorker
. Sending force: true
when the project needs backfilling.
How to set up and validate locally
- Update permission of a project with wiki
- And confirm in Elastic that the
visibility_level
in the wiki index gets updated correctly
curl -H 'Content-type: application/json' -XGET 'http://localhost:9200/gitlab-development-wikis/_search'
- Move a project to different namespace.
- And confirm in Elastic with the above command that the
traversal_ids
in the wiki index gets updated correctly
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #410190 (closed)
Edited by Ravi Kumar