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/30 07:53:00 UTC
[jira] [Closed] (CAY-2446) Run Disjoint By Id queries outside of
synchronized block
[ https://issues.apache.org/jira/browse/CAY-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2446.
--------------------------------
Resolution: Fixed
https://github.com/apache/cayenne/commit/8339c19959aa9bc6e0e05b1536af5622b13ae670
> Run Disjoint By Id queries outside of 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
> Priority: Major
> 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)