Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-941

Benchmark alg line - {[AddDoc(4000)]: 4} : * - causes an infinite loop

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3
    • modules/benchmark
    • None

    Description

      Background in http://www.mail-archive.com/java-dev@lucene.apache.org/msg10831.html
      The line

      {[AddDoc(4000)]: 4}

      : *
      causes an infinite loop because the parallel sequence would mask the exhaustion from the outer sequential sequence.

      To fix this the DocMaker exhaustion check should be modified to rely on the doc maker instance only, and to be reset when the inputs are being reset.

      Attachments

        1. lucene-941-patch.txt
          4 kB
          Doron Cohen
        2. lucene-941-patch.txt
          7 kB
          Doron Cohen

        Activity

          People

            doronc Doron Cohen
            doronc Doron Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: