cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1546) cayenne-lifecycle: UuidBatchFault concurrency issues
Date Mon, 28 Feb 2011 08:50:37 GMT
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

        

Mime
View raw message