You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/02/20 14:22:19 UTC

[jira] [Updated] (OAK-907) Query timeout

     [ https://issues.apache.org/jira/browse/OAK-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-907:
--------------------------------

    Fix Version/s: 0.17a

> Query timeout
> -------------
>
>                 Key: OAK-907
>                 URL: https://issues.apache.org/jira/browse/OAK-907
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 0.17a
>
>
> Queries that don't use an index are potentially very slow, even if the result is small (and even if there is no result).
> There should be a (configurable) query timeout. The default could be one minute. A bit tricky is to distinguish between an application that is reading the results slowly and the query performing slowly: we can't simply measure the start time of the query and throw an exception when reading and the timeout has been reached; instead, either the total execution time needs to be calculated, or the timeout should only apply for reading one entry.
> An open question is how to configure the timeout.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)