[
https://issues.apache.org/jira/browse/OAK-10970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867848#comment-17867848
]
Johnson Ho commented on OAK-10970:
----------------------------------
Attaching a test case which illustrates the behaviour.
> JournalDiffLoader returns an empty diff if you have
> mongo.disableBranches=true and are above UPDATE_LIMIT
> ---------------------------------------------------------------------------------------------------------
>
> Key: OAK-10970
> URL: https://issues.apache.org/jira/browse/OAK-10970
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, documentmk
> Affects Versions: 1.60.0
> Reporter: Johnson Ho
> Priority: Major
> Attachments: DisabledBranchesDiffTest.java
>
>
> This behaviour was observed after setting.
> {code:java}
> mongo.disableBranches=true{code}
> When branches are disabled, and the commit is above UPDATE_LIMIT, the
> JournalDiffLoader returns an empty diff. As a temporary workaround, I
> manually set
> {code:java}
> -Doak.disableJournalDiff=true {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)