Symptom

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.

Resolution

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"

此産品由 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 授權  Creative Commons 條款未涵蓋 Twitter™ 與 Facebook 文章。

法律說明   |   線上隱私權政策