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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.15.0, 5.1.0
    • Fix Version/s: 5.1.0, 4.16.0
    • Component/s: core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: