lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-3011) DIH MultiThreaded bug
Date Sun, 18 Mar 2012 19:22:41 GMT


Mikhail Khludnev updated SOLR-3011:

    Attachment: SOLR-3011.patch

ok. Massive sporadic test failures has been fixed. The core problem which I've faced is correct
EntityProcessor initialization, it should be done under delegate EntityProcessor monitor.
The proposed solution breaks TestDocBuilderThreaded.testProcessor2EntitiesNoThreads() I ignored
them. Don't think it's a problem. 

But now I much more agree with James. It's hard to maintain code ever. 

btw what is the importance of delta import scenario? I see it can be done via full import
Does it make sense to maintain separate code path for them?

> DIH MultiThreaded bug
> ---------------------
>                 Key: SOLR-3011
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.5, 4.0
>            Reporter: Mikhail Khludnev
>            Priority: Minor
>             Fix For: 4.0
>         Attachments: SOLR-3011.patch, SOLR-3011.patch, SOLR-3011.patch, SOLR-3011.patch,
patch-3011-EntityProcessorBase-iterator.patch, patch-3011-EntityProcessorBase-iterator.patch
> current DIH design is not thread safe. see last comments at SOLR-2382 and SOLR-2947.
I'm going to provide the patch makes DIH core threadsafe. Mostly it's a SOLR-2947 patch from
28th Dec. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message