You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2024/05/17 16:57:00 UTC

[jira] [Commented] (OAK-10760) oak-core should check namespace registry consistency on startup

    [ https://issues.apache.org/jira/browse/OAK-10760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847375#comment-17847375 ] 

Julian Reschke commented on OAK-10760:
--------------------------------------

trunk: [43619290a5|https://github.com/apache/jackrabbit-oak/commit/43619290a5ebdc9c60aa9d1929f796e5033f59da]

> oak-core should check namespace registry consistency on startup
> ---------------------------------------------------------------
>
>                 Key: OAK-10760
>                 URL: https://issues.apache.org/jira/browse/OAK-10760
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Julian Reschke
>            Assignee: Manfred Baedke
>            Priority: Critical
>              Labels: candidate_oak_1_22
>             Fix For: 1.64.0
>
>
> 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).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)