[
https://issues.apache.org/jira/browse/OAK-11254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895964#comment-17895964
]
Stefan Egli commented on OAK-11254:
-----------------------------------
PR merged : https://github.com/apache/jackrabbit-oak/pull/1849
OAK-11255 will take care of doing this more appropriately later
Marking this as resolved
> backgroundPurge interferes with fullgc tests
> --------------------------------------------
>
> Key: OAK-11254
> URL: https://issues.apache.org/jira/browse/OAK-11254
> Project: Jackrabbit Oak
> Issue Type: Test
> Components: documentmk
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Priority: Critical
> Fix For: 1.72.0
>
>
> DocumentNodeStore.backgroundPurge is started in the background and runs right
> after initialization. Amongst others this method cleans up unmerged branch
> commits on root, as noticed by [~baedke] offline. FullGC tests have seen
> flakyness with exactly "missing" unmerged branch commits on root.
> We need a way to disable backgroundPurge for certain tests - to exclude such
> interference.
> As a short-term fix however, the first idea is to add a sleep(1000) to tests
> that have shown flakyness.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)