incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colton McInroy <>
Subject Re: [jira] [Closed] (BLUR-245) There is a deadlock condition that can occur during mutate batch calls.
Date Sun, 29 Sep 2013 13:47:20 GMT
Glad to see you resolved this Aaron.

I am just in the process of building my parsing engine right now, so I 
will make sure I update my build before I start doing the mutate calls.

I have been reading the usage examples on mutate calls. I find it 
somewhat odd there is only mutate and no insert as well. I guess they 
are probably both treated the same. I am getting close to building the 
add record component to my parsing engine, but reading the code has left 
me somewhat puzzled. With lucene I treated each "Document" with various 
"Field" types, with Fields also being referenced as "Categories" for the 
facet indexing. Now with Blur it is much different. This mutate call 
seems to require three components which I am unsure of...
The rowid is different from a recordid how?... and can I insert just 
rows with automatically generated ids? The data coming in won't have any 
unique id's associated with it, and with lucene in my previous 
experience you never needed to specify a recordid or rowid, it would 
automatically create a document id upon adding a new "Document" to the 
I am totaly clueless as to what the family attribute is for.
I notice there are no column types. In my experience with Lucene you had 
to specify the "Field" types to integer, string, etc but I see no 
ability to do that in Blur. Is that handled automatically or something?

Colton McInroy

  * Director of Security Engineering

(Toll Free) 	
_US_ 	(888)-818-1344 Press 2
_UK_ 	0-800-635-0551 Press 2

My Extension 	101
24/7 Support <>
Email <>

On 9/29/2013 6:20 AM, Aaron McCurry (JIRA) wrote:
>       [
> Aaron McCurry closed BLUR-245.
> ------------------------------
>      Resolution: Fixed
>> There is a deadlock condition that can occur during mutate batch calls.
>> -----------------------------------------------------------------------
>>                  Key: BLUR-245
>>                  URL:
>>              Project: Apache Blur
>>           Issue Type: Bug
>>           Components: Blur
>>     Affects Versions: 0.3.0, 0.2.1
>>             Reporter: Aaron McCurry
>>             Priority: Blocker
>>              Fix For: 0.3.0, 0.2.1
>> Basically there is a thread pool that the mutates use for performing the mutate.
 However the batch mutate call in the index manager submits a job then in that submitted job
it creates more jobs (one for each shard).  This can cause a deadlock condition in the thread
pool, because the thread pool is a fixed size.
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message