[ https://issues.apache.org/jira/browse/OAK-10760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847375#comment-17847375 ]
Julian Reschke edited comment on OAK-10760 at 2/25/25 11:23 PM: ---------------------------------------------------------------- trunk: (1.64.0) [43619290a5|https://github.com/apache/jackrabbit-oak/commit/43619290a5ebdc9c60aa9d1929f796e5033f59da] 1.22: [0116c74cb9|https://github.com/apache/jackrabbit-oak/commit/0116c74cb96ffa0787d49d581280db203bcd0054] was (Author: reschke): 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, 1.22.22 > > > 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)