Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
4.0
-
None
-
Red Hat Enterprise Linux Server release 5.3 (Tikanga), Java HotSpot(TM) 64-Bit Server VM (20.0-b11, mixed mode)
Description
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.
Attachments
Issue Links
- is superceded by
-
SOLR-14783 Remove DIH from 9.0
- Closed