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 "Miroslav Smiljanic (Jira)" <ji...@apache.org> on 2021/01/19 17:45:01 UTC
[jira] [Created] (OAK-9327) ConcurrentReadTest logs warning message
when concurrency level greater than 1
Miroslav Smiljanic created OAK-9327:
---------------------------------------
Summary: ConcurrentReadTest logs warning message when concurrency level greater than 1
Key: OAK-9327
URL: https://issues.apache.org/jira/browse/OAK-9327
Project: Jackrabbit Oak
Issue Type: Bug
Components: benchmarks
Reporter: Miroslav Smiljanic
When running ConcurrentReadTest with concurrency level greater than 1, warning message is logged because of how session is being used. Perhaps code can be improved to avoid concurrent use of the session.
{noformat}
# ConcurrentReadTest C min 10% 50% 90% max N mean
Oak-Segment-Tar 1 35 205 447 617 701 139 432
Oak-Segment-Tar 2 107 376 747 1080 1413 164 735
09:35:58.769 [Background job 3] WARN o.a.j.o.jcr.delegate.SessionDelegate - Attempted to perform getRootNode while thread Background job 0 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.
09:36:07.283 [Background job 1] WARN o.a.j.o.jcr.delegate.SessionDelegate - Attempted to perform getNode while thread Background job 3 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.
Oak-Segment-Tar 4 258 580 1137 1915 3332 197 1224
Oak-Segment-Tar 8 96 853 1868 3834 7554 223 2177
09:38:50.358 [Background job 1] WARN o.a.j.o.jcr.delegate.SessionDelegate - Attempted to perform getNode while thread Background job 12 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.
09:38:52.466 [Background job 14] WARN o.a.j.o.jcr.delegate.SessionDelegate - Attempted to perform getRootNode while thread Background job 5 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.
Oak-Segment-Tar 16 302 1526 3501 6994 13552 249 3945
09:39:10.530 [Background job 16] WARN o.a.j.o.jcr.delegate.SessionDelegate - Attempted to perform getNode while thread Background job 1 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.
09:39:11.567 [Background job 14] WARN o.a.j.o.jcr.delegate.SessionDelegate - Attempted to perform getRootNode while thread Background job 25 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.
Oak-Segment-Tar 32 64 2156 5578 10391 16376 341 5869
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)