ForceReindexing is not working as expected
Summary
Still seeing growth in zoekt_shards_loaded
and also memory is slowly climbing. Tested force reindexing locally in gdk using Rails and found that:
- the shard file count did not go down (all previous shard files + meta files remained)
- there was an additional shard file created which appeared to be the same size as the original repository/shard file
Changed isDelta
to false manually in the zoekt code and built a new version and ran that in place of the gdk version. Re-ran force reindexing from gdk and saw:
- only one shard file is present (no meta files)
Relevant logs and/or screenshots
google drive link of archive zoekt files (internal)
test files from gdk using a large-ish project (gitlab-hq)
after force reindexing using isDelta=true
after force reindexing using isDelta=false
Possible fixes
Edited by Terri Chu