lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-2694) LogUpdateProcessor not thread safe
Date Wed, 03 Aug 2011 15:51:28 GMT

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

Jan Høydahl commented on SOLR-2694:
-----------------------------------

Haven't analyzed it deeply, but it is very easy to reproduce.
1. Setup an UpdateChain with the LogUpdateProcessor in it
2. Start feeding a bunch of docs in one shell window
3. Start feeding a bunch of docs in another shell window
4. Bang!

Cannot see from the code why this happens, but it seems to be related to usage of the SimpleOrderedMap.

> LogUpdateProcessor not thread safe
> ----------------------------------
>
>                 Key: SOLR-2694
>                 URL: https://issues.apache.org/jira/browse/SOLR-2694
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.4.1, 3.1, 3.2, 3.3, 4.0
>            Reporter: Jan Høydahl
>
> Using the LogUpdateProcessor while feeding in multiple parallell threads does not work,
as LogUpdateProcessor is not threadsafe.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message