Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent empty indexes when using --reindex always
When reindexing, the indexes are "reset", which basically means that new indexes are being created. However, the loop still holds on to the old writers. So when resetting the indexes, we must also create new writers. Otherwise the logic will write to the old indexes, and the new ones will stay empty.
- Loading branch information