aleph icon indicating copy to clipboard operation
aleph copied to clipboard

Documents inexplicably orphaned

Open mattcg opened this issue 4 years ago • 7 comments

This is a bit difficult to reproduce and I have tried debugging and gotten nowhere. Periodically, some documents that are deep within a directory hierarchy will appear, as copies of the original documents but orphaned from the parent directory, at the root of the dataset directly. After deleting these orphan documents, some event - a re-index, re-ingest or upgrade - seems to trigger their re-appearance.

In other instances, these documents are not actual documents but empty 'Table' documents. Again, when deleted they re-appear. If were to guess I'd imagine it's some race condition - attempting to index the child before the parent document is indexed, but this is just an uneducated guess.

mattcg avatar Jan 20 '21 21:01 mattcg