[ 
https://issues.apache.org/jira/browse/PHOENIX-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208566#comment-14208566
 ] 

Eli Levine commented on PHOENIX-1429:
-------------------------------------

Otherwise, looks good!

> 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
>         Attachments: PHOENIX-1429.patch
>
>
> 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