[ 
https://issues.apache.org/jira/browse/LUCENE-4796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587263#comment-13587263
 ] 

Commit Tag Bot commented on LUCENE-4796:
----------------------------------------

[branch_4x commit] Uwe Schindler
http://svn.apache.org/viewvc?view=revision&revision=1450276

Merged revision(s) 1450275 from lucene/dev/trunk:
LUCENE-4796, SOLR-4373: Fix concurrency issue in NamedSPILoader and 
AnalysisSPILoader when doing concurrent core loads in multicore Solr configs

                
> NamedSPILoader.reload needs to be synchronized
> ----------------------------------------------
>
>                 Key: LUCENE-4796
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4796
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Uwe Schindler
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4796.patch, LUCENE-4796.patch
>
>
> Spun off of SOLR-4373: as discsused with uwe on IRC, NamedSPILoader.reload is 
> not thread safe: it reads from this.services at the beginging of hte method, 
> makes additions based on the method input, and then overwrites this.services 
> at the end of the method.  if the method is called by two threads 
> concurrently, the entries added by threadB could be lost if threadA enters 
> the method before threadB and exists the method after threadB

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to