You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2011/02/28 09:50:37 UTC
[jira] Created: (CAY-1546) cayenne-lifecycle: UuidBatchFault
concurrency issues
cayenne-lifecycle: UuidBatchFault concurrency issues
----------------------------------------------------
Key: CAY-1546
URL: https://issues.apache.org/jira/browse/CAY-1546
Project: Cayenne
Issue Type: Bug
Components: Core Library
Affects Versions: 3.1M2
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
In case of UuidRelationship, when one thread is fetching the source entity, it may override UuidBatchFault of the existing objects. Then when another thread tries to read object relationship, it triggers fault resolution, all in parallel with the first thread, so ConcurrentModificationException may happen between UuidBatchFault.addUuid() and UuidBatchFault.fetchObjects().
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (CAY-1546) cayenne-lifecycle: UuidBatchFault
concurrency issues
Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1546.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.1M3
> cayenne-lifecycle: UuidBatchFault concurrency issues
> ----------------------------------------------------
>
> Key: CAY-1546
> URL: https://issues.apache.org/jira/browse/CAY-1546
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Affects Versions: 3.1M2
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.1M3
>
>
> In case of UuidRelationship, when one thread is fetching the source entity, it may override UuidBatchFault of the existing objects. Then when another thread tries to read object relationship, it triggers fault resolution, all in parallel with the first thread, so ConcurrentModificationException may happen between UuidBatchFault.addUuid() and UuidBatchFault.fetchObjects().
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira