[
https://issues.apache.org/jira/browse/OAK-8089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16782361#comment-16782361
]
Julian Reschke edited comment on OAK-8089 at 3/4/19 11:28 AM:
--------------------------------------------------------------
The patch seems to cause
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT to be
*really* slow...
without change:
{noformat}
[INFO] Running
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.431 s
- in org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
{noformat}
with change:
{noformat}
[INFO] Running
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1,006.872 s - in
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
{noformat}
Test log shows that each disposal takes roughly one second, so the shutdown
doesn't seem to work yet as expected.
was (Author: reschke):
The patch seems to cause
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT to be
*really* slow...
without change:
{noformat}
[INFO] Running
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.431 s
- in org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
{noformat}
with change:
{noformat}
[INFO] Running
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1,006.872 s - in
org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryRandomizedIT
{noformat}
Maybe caused by the test running with {{LeaseCheckMode.DISABLED}}?
> DocumentNodeStore dispose can fail when duration of final background ops
> exceeds lease time
> -------------------------------------------------------------------------------------------
>
> Key: OAK-8089
> URL: https://issues.apache.org/jira/browse/OAK-8089
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.12
>
> Attachments: OAK-8089.diff, oak-8089.patch
>
>
> The problem is that {{dispose()}} let's the {{BackgroundLeaseUpdateThread}}
> run once.
> If the duration of the remaining operations then exceeds the lease update
> interval, these operations will fail with a {{DocumentStoreException}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)