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

OfflineSorter should not call ByteSequencesReader.next again after it returns null

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.6, 7.0
    • None
    • None
    • New

    Description

      OfflineSorter uses a simple iterator class, ByteSequencesReader, to step through all byte[] that need sorting.

      When its next method returns null the iteration is done.

      But OfflineSorter then calls next again after that null return ...

      Attachments

        1. LUCENE-7779.patch
          4 kB
          Michael McCandless
        2. LUCENE-7779.patch
          4 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: