You run consistencyCheck and consistencyFix to fix problem with the repository, but are not sure what kind of problems is being resolved or not resolved by running this.


The 4 type of problems consistency check / fix handle below.

1. Missing Ancestor: One or more ancestors of an indexed node are not available in the index. The repair is to index the missing ancestors.

INFO message in log: "Reparing missing node /some/path/to/node"

2. Unknown Parent: The parent of a node is not available. Not able to repair node.

WARN message in log: "Not repairable: Node xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx has unknown parent: xxxxxxxx-yyyy-yyyy-yyyy-xxxxxxxxxxxx"

3. Multiple Entries: A node is present multiple times in the index. The repair is to remove the nodes with the identical uuids from the index and re-index the node.

INFO message in log: "Re-indexing duplicate node occurrences in index: /some/path/to/node"

4. Node Deleted: Indicates that a node has been deleted but is still in the index. The repair is to delete the nodes from the index.

INFO message in log: "Removing deleted node from index: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"