openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrgiba <mrg...@ig.com.br>
Subject Supposed concurrent access issue to PCPath instance
Date Tue, 08 Oct 2013 20:18:20 GMT
Hi,

Has anyone ever experienced any issue with concurrent access to PCPath
resources ?

I got the error below once:



The error happened in a multi user scenario when processing the following
query:



Looking at the OpenJPA 2.2.1 source code, I noticed that not all methods
that read/write the _actions collection from CandidatePath class (super
class of PCPath) have a synchronized block or any other concurrency control.
If the same PCPath instance can really be accessed by more than one thread,
then there are really chances to trouble



--
View this message in context: http://openjpa.208410.n2.nabble.com/Supposed-concurrent-access-issue-to-PCPath-instance-tp7585102.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message