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:56:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Julian Reschke updated OAK-10760:
---------------------------------
Labels: candidate_oak_1_22 (was: )
> 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)