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