Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2382 DIH Cache Improvements
  3. SOLR-2947

DIH caching bug - EntityRunner destroys child entity processor

    XMLWordPrintableJSON

Details

    Description

      My intention is fix multithread import with SQL cache. Here is the 2nd stage. If I enable DocBuilder.EntityRunner flow even for single thread, it breaks the pretty basic functionality: parent-child join.
      the reason is line 473 entityProcessor.destroy(); breaks children entityProcessor.

      see attachement comments for more details.

      Attachments

        1. SOLR-2947.patch
          12 kB
          James Dyer
        2. SOLR-2947.patch
          15 kB
          Mikhail Khludnev
        3. SOLR-2947.patch
          13 kB
          Mikhail Khludnev
        4. SOLR-2947.patch
          32 kB
          Mikhail Khludnev
        5. SOLR-2947.patch
          7 kB
          James Dyer
        6. SOLR-2947.patch
          5 kB
          Mikhail Khludnev
        7. dih-cache-destroy-on-threads-fix.patch
          5 kB
          Mikhail Khludnev
        8. dih-cache-threads-enabling-bug.patch
          0.6 kB
          Mikhail Khludnev

        Activity

          People

            jdyer James Dyer
            mkhl Mikhail Khludnev
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: