Solr
  1. Solr
  2. SOLR-1766

DIH with threads enabled doesn't respond to the abort command

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Labels:
    • Environment:

      tomcat 6.x, jdk 1.6.x, windows and linux

      Description

      When the multithreaded entity processor is enabled by adding the threads="x" attribute to an entity, the thread runner code doesn't check the status of the abort flag. The process continues to run after the abort command is given.

      1. solr-1766.patch
        0.7 kB
        Michael Henson

        Activity

        Hide
        Michael Henson added a comment -

        Simply adding a test for the status of the abort tag here seems to work.

        Show
        Michael Henson added a comment - Simply adding a test for the status of the abort tag here seems to work.
        Hide
        Noble Paul added a comment -

        committed r908355

        Thanks Michael Henson

        Show
        Noble Paul added a comment - committed r908355 Thanks Michael Henson

          People

          • Assignee:
            Noble Paul
            Reporter:
            Michael Henson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development