Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10760

oak-core should check namespace registry consistency on startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Critical
    • Resolution: Unresolved
    • None
    • 1.64.0
    • core
    • None

    Description

      The persisted namespace registry contains maps from prefix to name and vice versa; plus all names and prefixes as multivalued string properties.

      When rep:uris gets broken, ReadOnlyNamespaceRegistry may fail to check for duplicate namespace registrations .

      We should check the consistency of the registry upon repo startup, and ERROR-level log issues for further analysis. Automatic repair might be non-trivial, though.

      Seen in a real-world install: rep:prefixes containing 128 entries, but rep:uris a single one (with invalid value).

      Attachments

        Activity

          People

            baedke Manfred Baedke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: