[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-04-26 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Fix Version/s: 1.4.16

> java.lang.IllegalStateException logged when migrating Segment to Document
> -
>
> Key: OAK-5651
> URL: https://issues.apache.org/jira/browse/OAK-5651
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.5.13
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.7.0, 1.8, 1.6.1, 1.4.16
>
> Attachments: OAK-5651-1.patch, OAK-5651.patch
>
>
> After migrating the SegmentMK to DocumentMK following exception is logged:
> {noformat}
> 12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying 
> checkpoints is not supported for this combination of node stores
> 12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught 
> exception in 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
> com.google.common.util.concurrent.UncheckedExecutionException: 
> java.lang.IllegalStateException: Missing external change for branch revision:
> at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
> ~[guava-15.0.jar:na]
> at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
> ~[guava-15.0.jar:na]
> at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
> ~[guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
> ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_73]
> at 
> com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
>  [guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> 

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-20 Thread Marcel Reutegger (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger updated OAK-5651:
--
Attachment: OAK-5651-1.patch

Attached proposed fix [^OAK-5651-1.patch].

> java.lang.IllegalStateException logged when migrating Segment to Document
> -
>
> Key: OAK-5651
> URL: https://issues.apache.org/jira/browse/OAK-5651
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.5.13
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.7.0, 1.8, 1.6.1
>
> Attachments: OAK-5651-1.patch, OAK-5651.patch
>
>
> After migrating the SegmentMK to DocumentMK following exception is logged:
> {noformat}
> 12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying 
> checkpoints is not supported for this combination of node stores
> 12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught 
> exception in 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
> com.google.common.util.concurrent.UncheckedExecutionException: 
> java.lang.IllegalStateException: Missing external change for branch revision:
> at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
> ~[guava-15.0.jar:na]
> at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
> ~[guava-15.0.jar:na]
> at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
> ~[guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
> ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_73]
> at 
> com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
>  [guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> 

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-16 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Fix Version/s: 1.6.1

> java.lang.IllegalStateException logged when migrating Segment to Document
> -
>
> Key: OAK-5651
> URL: https://issues.apache.org/jira/browse/OAK-5651
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.5.13
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.7.0, 1.8, 1.6.1
>
> Attachments: OAK-5651.patch
>
>
> After migrating the SegmentMK to DocumentMK following exception is logged:
> {noformat}
> 12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying 
> checkpoints is not supported for this combination of node stores
> 12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught 
> exception in 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
> com.google.common.util.concurrent.UncheckedExecutionException: 
> java.lang.IllegalStateException: Missing external change for branch revision:
> at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
> ~[guava-15.0.jar:na]
> at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
> ~[guava-15.0.jar:na]
> at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
> ~[guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
> ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_73]
> at 
> com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
>  [guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> 

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-15 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Attachment: OAK-5651.patch

> java.lang.IllegalStateException logged when migrating Segment to Document
> -
>
> Key: OAK-5651
> URL: https://issues.apache.org/jira/browse/OAK-5651
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.5.13
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.7.0, 1.8
>
> Attachments: OAK-5651.patch
>
>
> After migrating the SegmentMK to DocumentMK following exception is logged:
> {noformat}
> 12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying 
> checkpoints is not supported for this combination of node stores
> 12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught 
> exception in 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
> com.google.common.util.concurrent.UncheckedExecutionException: 
> java.lang.IllegalStateException: Missing external change for branch revision:
> at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
> ~[guava-15.0.jar:na]
> at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
> ~[guava-15.0.jar:na]
> at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
> ~[guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
> ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_73]
> at 
> com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
>  [guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> 

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-15 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Component/s: upgrade

> java.lang.IllegalStateException logged when migrating Segment to Document
> -
>
> Key: OAK-5651
> URL: https://issues.apache.org/jira/browse/OAK-5651
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.5.13
>Reporter: Tomek Rękawek
> Fix For: 1.7.0, 1.8
>
>
> After migrating the SegmentMK to DocumentMK following exception is logged:
> {noformat}
> 12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying 
> checkpoints is not supported for this combination of node stores
> 12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught 
> exception in 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
> com.google.common.util.concurrent.UncheckedExecutionException: 
> java.lang.IllegalStateException: Missing external change for branch revision:
> at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
> ~[guava-15.0.jar:na]
> at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
> ~[guava-15.0.jar:na]
> at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
> ~[guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
> ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_73]
> at 
> com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
>  [guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$1.call(DocumentNodeStoreBranch.java:606)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> 

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-15 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Affects Version/s: (was: 1.6.0)
   1.5.13

> java.lang.IllegalStateException logged when migrating Segment to Document
> -
>
> Key: OAK-5651
> URL: https://issues.apache.org/jira/browse/OAK-5651
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.5.13
>Reporter: Tomek Rękawek
> Fix For: 1.7.0, 1.8
>
>
> After migrating the SegmentMK to DocumentMK following exception is logged:
> {noformat}
> 12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying 
> checkpoints is not supported for this combination of node stores
> 12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught 
> exception in 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
> com.google.common.util.concurrent.UncheckedExecutionException: 
> java.lang.IllegalStateException: Missing external change for branch revision:
> at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
> ~[guava-15.0.jar:na]
> at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
> ~[guava-15.0.jar:na]
> at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
> ~[guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
> ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
>  ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> [na:1.8.0_73]
> at 
> com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
>  [guava-15.0.jar:na]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
>  [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
>  [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$1.call(DocumentNodeStoreBranch.java:606)
>  

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-14 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Description: 
After migrating the SegmentMK to DocumentMK following exception is logged:

{noformat}
12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying checkpoints 
is not supported for this combination of node stores
12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught exception 
in 
org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
com.google.common.util.concurrent.UncheckedExecutionException: 
java.lang.IllegalStateException: Missing external change for branch revision:
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
~[guava-15.0.jar:na]
at 
com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
~[guava-15.0.jar:na]
at 
org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[na:1.8.0_73]
at 
com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
 [guava-15.0.jar:na]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
 [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
 [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$1.call(DocumentNodeStoreBranch.java:606)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$1.call(DocumentNodeStoreBranch.java:600)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.withCurrentBranch(DocumentNodeStoreBranch.java:313)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$600(DocumentNodeStoreBranch.java:58)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted.merge(DocumentNodeStoreBranch.java:600)
 

[jira] [Updated] (OAK-5651) java.lang.IllegalStateException logged when migrating Segment to Document

2017-02-14 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/OAK-5651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomek Rękawek updated OAK-5651:
---
Description: 
After migrating the SegmentMK to DocumentMK following exception is logged:

{noformat}
12:38:58.816 INFO  [main] RepositorySidegrade.java:310  Copying checkpoints 
is not supported for this combination of node stores
12:38:58.835 ERROR [main] BackgroundObserver.java:176   Uncaught exception 
in 
org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler@3c782d8e
com.google.common.util.concurrent.UncheckedExecutionException: 
java.lang.IllegalStateException: Missing external change for branch revision:
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199) 
~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
~[guava-15.0.jar:na]
at 
com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
~[guava-15.0.jar:na]
at 
org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:83)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:50)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1616)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:114)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:52) 
~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler.contentChanged(BundlingConfigHandler.java:70)
 ~[oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:134)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:128)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[na:1.8.0_73]
at 
com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
 [guava-15.0.jar:na]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1.run(BackgroundObserver.java:148)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.run(NotifyingFutureTask.java:73)
 [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.commons.concurrent.NotifyingFutureTask.onComplete(NotifyingFutureTask.java:62)
 [oak-commons-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.BackgroundObserver.contentChanged(BackgroundObserver.java:312)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.CompositeObserver.contentChanged(CompositeObserver.java:52)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.spi.commit.ChangeDispatcher.contentChanged(ChangeDispatcher.java:80)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$4.headOfQueue(DocumentNodeStore.java:837)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.CommitQueue.waitUntilHeadOfQueue(CommitQueue.java:237)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.CommitQueue.done(CommitQueue.java:92)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.done(DocumentNodeStore.java:816)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1585)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$1.call(DocumentNodeStoreBranch.java:606)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$1.call(DocumentNodeStoreBranch.java:600)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.withCurrentBranch(DocumentNodeStoreBranch.java:313)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$600(DocumentNodeStoreBranch.java:58)
 [oak-core-1.8-SNAPSHOT.jar:1.8-SNAPSHOT]
at 
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted.merge(DocumentNodeStoreBranch.java:600)