Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6776

Abort scans of closed connections at ScanningResultIterator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0, 5.1.4
    • None
    • None

    Description

      The server side paging feature introduced by PHOENIX-6211 breaks a scan into timed scan operations on the server side and returns an intermediate result for each operation. This intermediate result could be a valid result or a dummy result. The HBase scans are wrapped by ScanningResultIterator in Phoenix. If the next call on a scan returns a dummy or empty result, ScanningResultIterator ignores this result and call the next method on the scan again. However, if the Phoenix connection is closed, we should abort the scan instead of continuing scanning. This will result in timely abort of scans and release of resources (especially when phoenix.server.page.size.ms is set to a small value, e.g., 5 sec).

       

      Attachments

        Issue Links

          Activity

            People

              lokiore Lokesh Khurana
              kadir Kadir Ozdemir
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: