Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4324

Solr cloud distribute indexing fail

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              dabai Jun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: