You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/11/10 09:12:34 UTC

[jira] [Created] (PHOENIX-1429) Cancel queued threads when limit reached

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)