openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <f...@alum.mit.edu>
Subject Re: [jira] Commented: (OPENJPA-820) slices: a simple query is failing (unique, but totally sending wrong parameters to SQL)
Date Thu, 11 Dec 2008 23:32:33 GMT
actually.. we are up against a rock and a hard place.

When you turn on Multithreaded support, all queries hang.  This is 
probably because the main DistributedQuery gets a lock, but then spawns 
all of the sub queries in other threads and each of those try to get 
locks, and voila, deadlock??


Fernando Padilla wrote:
> So.. could this be related to Multithreaded support??
> 
> Since I have it turned off, but in reality because slices executes 
> queries in parallel under the covers, then those queries require 
> Multithreaded support..
> 
> could this be the reason we're seeing weird intermittent errors??
> 
> Pinaki Poddar wrote:
>>> So, now that I have your attention, let's start to discuss.. what do you
>> think it could be?
>>
>>    Please post a reproducible JUnit test case without the scaffolding. It
>> will help us to pinpoint the issue.
>>
>>> how come your unit tests didn't catch the other bugs that I filed? 
>>
>> I am working towards that day when my unit tests will find all the 
>> bugs ;) Also that is why your hard work is much more appreciated. You 
>> can see for yourself the existing test cases for Slice in svn repository
>> and you are welcome to contribute new ones. But I agree that test 
>> coverage
>> needs improvement -- and contributions are very welcome.
>>
>>
>>

Mime
View raw message