You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/11/05 15:41:19 UTC

[jira] [Created] (JCR-3691) Search index consistency check logs unnecessary warnings for repairable errors

Jukka Zitting created JCR-3691:
----------------------------------

             Summary: Search index consistency check logs unnecessary warnings for repairable errors
                 Key: JCR-3691
                 URL: https://issues.apache.org/jira/browse/JCR-3691
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.7.1
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor


When encountering an orphan node in the search index, the consistency check first marks it as a removed node that it can fix, but then also marks it as an unrepairable orphan node. The resulting log entries are a bit confusing, especially if one only logs warnings:

[INFO] Removing deleted node from index: 29cac4c6-9306-8392-cd76-1fcd770b2af5
[WARN] Not repairable: Node 29cac4c6-9306-8392-cd76-1fcd770b2af5 has unknown parent: 947f69b1-6143-bf42-700d-055ec5a83cb5

It would be better if the consistency check disabled further sanity checks for nodes that it already has marked for deletion.



--
This message was sent by Atlassian JIRA
(v6.1#6144)