Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6340 Infinitely looping ResultSet.next()
  3. PHOENIX-6342

RoundRobinResultIterator doesn't close itself when result size = fetchsize-1

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.15.0, 5.1.0
    • 5.1.0, 4.16.0
    • core
    • None

    Description

      RoundRobinResultIterator is mising a close() method call when the last record read causes the final increment to numScannersCacheExhausted.

      Most of the time this isn't fatal, as the next next() call will close the scanners, and call close(), but in some hard to reproduce cases, the iterators will reset, and keep sending their results again and again in an infinite loop.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: