jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7779) Ignore copying of namespace index node in InitialContentMigrator
Date Thu, 04 Oct 2018 06:21:00 GMT

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

Julian Reschke commented on OAK-7779:
-------------------------------------

trunk: [r1842770|http://svn.apache.org/r1842770] [r1842069|http://svn.apache.org/r1842069]


> Ignore copying of namespace index node in InitialContentMigrator
> ----------------------------------------------------------------
>
>                 Key: OAK-7779
>                 URL: https://issues.apache.org/jira/browse/OAK-7779
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, store-composite
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Blocker
>         Attachments: OAK-7779-v3.patch, OAK-7779.patch, OAK-7779_v2.patch
>
>
> The namespace index node {{/jcr:system/rep:namespaces/rep:nsdata}} copied from a seed
repository for CompositeNodeStore leads to error in the NamespaceEditor.
> This should be ignored as the rep:nsdata should be regenerated.
> {noformat}
> java.lang.RuntimeException: org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005:
Namespace modification not allowed: rep:nsdata
>  at org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:50) [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.initialContent(Oak.java:672) [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createNewContentRepository(Oak.java:715) [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:660) [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.jcr.Jcr.createContentRepository(Jcr.java:376) [org.apache.jackrabbit.oak-jcr:1.10.0.SNAPSHOT]
> .....
> org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:471)
[org.apache.sling.jcr.base:3.0.4]
>  at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:85)
[org.apache.sling.jcr.base:3.0.4]
>  at org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:455)
[org.apache.sling.jcr.base:3.0.4]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakNamespace0005: Namespace
modification not allowed: rep:nsdata
>  at org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.modificationNotAllowed(NamespaceEditor.java:122)
[org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.name.NamespaceEditor.childNodeChanged(NamespaceEditor.java:140)
[org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.childNodeChanged(CompositeEditor.java:121)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:142)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:163)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeChanged(CompositeNodeState.java:309)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeChanged(CompositeNodeState.java:256)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:416)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.document.ModifiedDocumentNodeState.compareAgainstBaseState(ModifiedDocumentNodeState.java:135)
[org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeState.compareAgainstBaseState(CompositeNodeState.java:163)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:51) [org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:54)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:60)
[org.apache.jackrabbit.oak-store-spi:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CommitHookEnhancer.processCommit(CommitHookEnhancer.java:67)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$InMemory.merge(DocumentNodeStoreBranch.java:526)
[org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge0(DocumentNodeStoreBranch.java:194)
[org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge(DocumentNodeStoreBranch.java:119)
[org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.merge(DocumentRootBuilder.java:170)
[org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1830)
[org.apache.jackrabbit.oak-store-document:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.composite.CompositeNodeStore.merge(CompositeNodeStore.java:155)
[org.apache.jackrabbit.oak-store-composite:1.10.0.SNAPSHOT]
>  at org.apache.jackrabbit.oak.OakInitializer.initialize(OakInitializer.java:48) [org.apache.jackrabbit.oak-core:1.10.0.SNAPSHOT]
>  ... 9 common frames omitted
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message