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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/03/12 16:16:40 UTC

[jira] [Resolved] (OAK-2614) Timeout for MongoDB query

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

Marcel Reutegger resolved OAK-2614.
-----------------------------------
    Resolution: Fixed

Introduced a system property as suggested by [~egli] in OAK-2617.

The system property is named {{oak.mongo.maxQueryTimeMS}} and is a timeout in milliseconds. 

Done in trunk: http://svn.apache.org/r1666218

> Timeout for MongoDB query
> -------------------------
>
>                 Key: OAK-2614
>                 URL: https://issues.apache.org/jira/browse/OAK-2614
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.1.8
>
>
> MongoDB 2.6 introduced a query timeout which allows a client to specify a time how long a query is allowed to execute.
> I'd like to introduce this as a configurable feature to better control resource usage in MongoDB and stop too expensive queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)