Jun Wang created SOLR-4324:
------------------------------
Summary: Solr cloud distribute indexing
Key: SOLR-4324
URL: https://issues.apache.org/jira/browse/SOLR-4324
Project: Solr
Issue Type: Bug
Components: contrib - DataImportHandler
Affects Versions: 4.0
Environment: Red Hat Enterprise Linux Server release 5.3 (Tikanga),
Java HotSpot(TM) 64-Bit Server VM (20.0-b11, mixed mode)
Reporter: Jun Wang
When do full import using DIH, it will delete all segments of all slice by call
IndexWriter#deleteAll simultaneously. And deleteAll will call IDF#refresh which
removing newly created unreferenced files.
But when IndexWriter#deleteAll is running, solr is add docs to the slice at the
same time. So IDF#refresh could delete a segment which is a newly created after
call of IDF#refresh before it published to IndexWriter, and after
publishFlushedSegment this segment will added to IndexWriter's segmentInfos,
and this could cause indexing failed when do IndexWriter#applyAllDeletes or
some operation else.
--
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]