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

oak-core should check namespace registry consistency on startup

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.64.0
    • core

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment