Re: Multithreaded JdbcDataStore and CachedSqlEntityProcessor

2011-10-12 Thread Maria Vazquez
I’ll try to test the patch this week. Thanks! On 10/10/11 2:01 AM, "Mikhail Khludnev" wrote: > Hello, > > Pls have a look to attached patch for > http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_4_0/ > > It makes all tests green, but I have a several doubts in it. > > Key points

Re: Multithreaded JdbcDataStore and CachedSqlEntityProcessor

2011-10-07 Thread Mikhail Khludnev
Hello, First of all I've got the same feeling for some time. I've checked TestThreaded and got that it doesn't cover CachedSqlEntityProce

Re: Multithreaded JdbcDataStore and CachedSqlEntityProcessor

2011-10-03 Thread Maria Vazquez
When I'm debugging, if it is single threaded CachedSqlEntityProcessor.getAllNonCachedRows is called only once, all the rows cached and next time it requests a row it gets it from the cached data. In the logs I see the SQL call only once. If I use multiple threads, it calls CachedSqlEntityProcessor

Re: Multithreaded JdbcDataStore and CachedSqlEntityProcessor

2011-10-01 Thread pulkitsinghal
What part of the source code in debug mode behaved in a fashion such as to make it seem like it is not thread-safe? If it feels difficult to put into words then you can always make a small 5 min screencast to demo the issue and talk about it. I do that for really complex stuff with Jing by tech

Multithreaded JdbcDataStore and CachedSqlEntityProcessor

2011-09-30 Thread Maria Vazquez
Hi, I¹m using threads with JdbcDataStore and CachedSqlEntityProcessor. I noticed that if I make it single threaded CachedSqlEntityProcessor behaves as expected (it only queries the db once and caches all the rows). If I make it multi threaded it seems to make multiple db queries and when I debug th