[
https://issues.apache.org/jira/browse/JENA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636228#comment-13636228
]
Andy Seaborne commented on JENA-440:
------------------------------------
Analysis:
1/ The first timeout is not getting cancelled after the first row is yielded so
in effect timeouts are "N,N" even when given "N,M". (fixed)
2/ The contract for a timeout of "N" is not clear - it should be on the total
length of the query but seems to have the effect of applying to just the first
item returned. Needs clearer contract then making the implementation agree
with the contract.
3/ Concurrency problems with timeout wrapper and timer management (fixed)
4/ The tests aren't testy enough.
This probably hasn't shown up clearly before because some of the most expensive
queries are group/aggregate queries where a lot of work is done before the
first row can be returned.
> Query timeout does not always correctly move to the second query timeout
> after first row yielded
> ------------------------------------------------------------------------------------------------
>
> Key: JENA-440
> URL: https://issues.apache.org/jira/browse/JENA-440
> Project: Apache Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: Jena 2.10.0
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira