James Taylor created PHOENIX-1429:
-------------------------------------

             Summary: Cancel queued threads when limit reached
                 Key: PHOENIX-1429
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1429
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


We currently spawn a thread per guidepost to process a query. For a full scan 
with a LIMIT of 1, this is particularly inefficient, as once we get our one row 
back, we no longer need to execute the other queued threads. We should cancel 
those threads once the limit is reached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to