[
https://issues.apache.org/jira/browse/OAK-10760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-10760:
---------------------------------
Labels: (was: candidate_oak_1_22)
> 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
> 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)