You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/07/27 14:18:00 UTC
[jira] [Created] (CAY-2446) Disjoint By Id queries run inside
synchronized block
Nikita Timofeev created CAY-2446:
------------------------------------
Summary: Disjoint By Id queries run inside synchronized block
Key: CAY-2446
URL: https://issues.apache.org/jira/browse/CAY-2446
Project: Cayenne
Issue Type: Improvement
Components: Core Library
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
Fix For: 4.1.M3
While researching lock contention in read-only mode I found that queries that are run for {{DisjoinById}} prefetches inside context-wide lock on {{ObjectStore}}. This can lead in really huge lock contention between threads concurrently reading from same context.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)