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 "Thomas Mueller (Jira)" <ji...@apache.org> on 2024/08/22 12:32:00 UTC
[jira] [Created] (OAK-11055) Warnings "falling back to classic diff" fill the log
Thomas Mueller created OAK-11055:
------------------------------------
Summary: Warnings "falling back to classic diff" fill the log
Key: OAK-11055
URL: https://issues.apache.org/jira/browse/OAK-11055
Project: Jackrabbit Oak
Issue Type: Improvement
Reporter: Thomas Mueller
Assignee: Thomas Mueller
I see the following warning a lot in the log file. As this is a known case, I think we should not log the exception stack trace always. Only the message. Otherwise, the log file might cause out-of-disk-space.
{noformat}
00:04:16.333 [main] WARN o.a.j.o.p.document.DocumentNodeStore - diffJournalChildren failed with IllegalStateException, falling back to classic diff
java.lang.IllegalStateException: Root document does not have a lastRev entry for local clusterId 0
at org.apache.jackrabbit.oak.plugins.document.JournalDiffLoader.readTrunkChanges(JournalDiffLoader.java:139)
at org.apache.jackrabbit.oak.plugins.document.JournalDiffLoader.call(JournalDiffLoader.java:75)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.diffImpl(DocumentNodeStore.java:3341)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$9.call(DocumentNodeStore.java:1991)
at org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache$1.call(MemoryDiffCache.java:85)
at org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache$1.call(MemoryDiffCache.java:79)
at org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.load(CacheLIRS.java:1019)
at org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.get(CacheLIRS.java:980)
at org.apache.jackrabbit.oak.cache.CacheLIRS.get(CacheLIRS.java:291)
at org.apache.jackrabbit.oak.plugins.document.persistentCache.NodeCache.get(NodeCache.java:243)
at org.apache.jackrabbit.oak.plugins.document.persistentCache.NodeCache.get(NodeCache.java:57)
at org.apache.jackrabbit.oak.plugins.document.MemoryDiffCache.getChanges(MemoryDiffCache.java:79)
at org.apache.jackrabbit.oak.plugins.document.TieredDiffCache.getChanges(TieredDiffCache.java:74)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1986)
at org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:118)
at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
at org.apache.jackrabbit.oak.plugins.document.JsopNodeStateDiffer.compareExisting(JsopNodeStateDiffer.java:100)
at org.apache.jackrabbit.oak.plugins.document.JsopNodeStateDiffer$1.childNodeChanged(JsopNodeStateDiffer.java:65)
at org.apache.jackrabbit.oak.plugins.document.DiffCache.parseJsopDiff(DiffCache.java:123)
at org.apache.jackrabbit.oak.plugins.document.JsopNodeStateDiffer.compare(JsopNodeStateDiffer.java:51)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1993)
at org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:118)
at org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeChanged(EditorDiff.java:147)
at org.apache.jackrabbit.oak.plugins.document.JsopNodeStateDiffer.compareExisting(JsopNodeStateDiffer.java:100)
at org.apache.jackrabbit.oak.plugins.document.JsopNodeStateDiffer$1.childNodeChanged(JsopNodeStateDiffer.java:65)
at org.apache.jackrabbit.oak.plugins.document.DiffCache.parseJsopDiff(DiffCache.java:123)
at org.apache.jackrabbit.oak.plugins.document.JsopNodeStateDiffer.compare(JsopNodeStateDiffer.java:51)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.compare(DocumentNodeStore.java:1993)
at org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeState.compareAgainstBaseState(AbstractDocumentNodeState.java:118)
at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:51)
at org.apache.jackrabbit.oak.index.indexer.document.incrementalstore.IncrementalFlatFileStoreStrategy.createSortedStoreFile(IncrementalFlatFileStoreStrategy.java:88)
at org.apache.jackrabbit.oak.index.indexer.document.incrementalstore.IncrementalStoreBuilder.build(IncrementalStoreBuilder.java:124)
at org.apache.jackrabbit.oak.index.indexer.document.DocumentStoreIndexerBase.buildStore(DocumentStoreIndexerBase.java:232)
at com.adobe.granite.indexing.tool.BuildIndexStoreCmd.run(BuildIndexStoreCmd.java:167)
at com.adobe.granite.indexing.tool.Main.main(Main.java:124)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)