AEM: Debug Merge Conflicts Errors

Words
40
Reading
1 min
10y
Listen to this post
~1 min

There are times when we get the OakStateException because of conflicts between sessions and the best way to debug is to enable the logs with the below classes:

TRACE logs for "org.apache.jackrabbit.oak.jcr.operations.writes"
DEBUG logs for "org.apache.jackrabbit.oak.plugins.commit.MergingNodeStateDiff"
DEBUG logs for "org.apache.jackrabbit.oak.plugins.commit.ConflictValidator"
AEM: Debug Merge Conflicts Errors | Ecency