[
https://issues.apache.org/jira/browse/PHOENIX-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-1429.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.2.1
4.2.1
3.3
4.3
> 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
> Fix For: 4.3, 3.3, 4.2.1, 3.2.1
>
> 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)