You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/31 18:15:00 UTC
[jira] [Commented] (GEODE-7037) MAX_QUERY_EXECUTION_TIME is
incorrectly shown in docs
[ https://issues.apache.org/jira/browse/GEODE-7037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897413#comment-16897413 ]
ASF subversion and git services commented on GEODE-7037:
--------------------------------------------------------
Commit 2ed6e1bb603615556c2d50b6bfdf107638b348f6 in geode's branch refs/heads/feature/GEODE-7037 from Dave Barnes
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=2ed6e1b ]
GEODE-7037: User Guide - Typo correction in "Timeouts for Long-Running Queries"
> MAX_QUERY_EXECUTION_TIME is incorrectly shown in docs
> -----------------------------------------------------
>
> Key: GEODE-7037
> URL: https://issues.apache.org/jira/browse/GEODE-7037
> Project: Geode
> Issue Type: Bug
> Components: docs
> Reporter: Dave Barnes
> Assignee: Dave Barnes
> Priority: Minor
>
> Link:
> [https://geode.apache.org/docs/guide/19/developing/query_additional/query_timeout.html]
> Text:
> _"Timeouts for Long-Running Queries
> GemFire can monitor and throw an exception when a query runs longer than a configured amount of time. This feature is enabled by setting the critical-heap-percentage attribute which detects that the JVM has too little heap memory.
> The default query timeout is five hours. Set a different amount of time, in milliseconds, by specifying the system variable *gemfire.cache.MAX_QUERY_EXECUTION_TIME*. A value of -1 explicitly disables the timeout.
> When enabled, a query that runs longer than the configured timeout will be cancelled such that it does not finish, and GemFire throws a QueryExecutionTimeoutException."_
> The above is wrong. The parameter is case sensitive and it should be: *gemfire.Cache.MAX_QUERY_EXECUTION_TIME* with an upper case C.
> This was tested and checked in the code:
> _public static int MAX_QUERY_EXECUTION_TIME = Integer.getInteger(DistributionConfig.GEMFIRE_PREFIX + "Cache.MAX_QUERY_EXECUTION_TIME", -1);
> _
> So using *gemfire.cache.MAX_QUERY_EXECUTION_TIME* will not change the time out.
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)