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 "Julian Reschke (Jira)" <ji...@apache.org> on 2020/01/15 10:31:00 UTC

[jira] [Commented] (OAK-8780) Remove the synchronized block on the FSBackend

    [ https://issues.apache.org/jira/browse/OAK-8780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015817#comment-17015817 ] 

Julian Reschke commented on OAK-8780:
-------------------------------------

Getting test failure:

[INFO] Running org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackendIT
[ERROR] Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 13.706 s <<< FAILURE! - in org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackendIT
[ERROR] testMultiThreadedSameLarge(org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackendIT)  Time elapsed: 2.206 s  <<< FAILURE!
java.lang.AssertionError: org.apache.jackrabbit.core.data.DataStoreException: Could not add record
        at org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackendIT.testMultiThreadedSameLarge(FSBackendIT.java:147)

[ERROR] testMultiThreadedSame(org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackendIT)  Time elapsed: 0.241 s  <<< FAILURE!
java.lang.AssertionError: org.apache.jackrabbit.core.data.DataStoreException: Could not add record
        at org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackendIT.testMultiThreadedSame(FSBackendIT.java:130)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   FSBackendIT.testMultiThreadedSame:130 org.apache.jackrabbit.core.data.DataStoreException: Could not add record
[ERROR]   FSBackendIT.testMultiThreadedSameLarge:147 org.apache.jackrabbit.core.data.DataStoreException: Could not add record
[INFO]
[ERROR] Tests run: 5, Failures: 2, Errors: 0, Skipped: 0


> Remove the synchronized block on the FSBackend
> ----------------------------------------------
>
>                 Key: OAK-8780
>                 URL: https://issues.apache.org/jira/browse/OAK-8780
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-plugins
>            Reporter: Ankita Agarwal
>            Assignee: Amit Jain
>            Priority: Major
>             Fix For: 1.24.0
>
>
> Initial upload requests are all within 5sec. Once the upload staging cache is getting filled up the response time of upload request gets degraded.  Only one thread at a time is runnable and rest remains in blocked state after upload staging cache fills up 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)