Description
CoW prepares local dir using "reindexCount" from definition builder. BUT, while re-indexing, at the time of construction of LuceneIndexEditorContext, the builder still has non-incremented reindexCount (IndexUpdate#collectIndexEditors) thereby updating the already existing directory.
On windows, this often leads to deletion inside lucene to fail thereby failing re-index and leading to reindex loop – this can be worked around by disabling CoW temporarily.
That being said, this might be able to corrupt locally copied index.
Attachments
Attachments
Issue Links
- relates to
-
OAK-2247 CopyOnWriteDirectory implementation for Lucene for use in indexing
- Closed