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 GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/09 00:06:00 UTC

[jira] [Updated] (GEODE-5993) QueryMonitor can throw RejectedExecutionException due to race

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

ASF GitHub Bot updated GEODE-5993:
----------------------------------
    Labels: pull-request-available  (was: )

> QueryMonitor can throw RejectedExecutionException due to race
> -------------------------------------------------------------
>
>                 Key: GEODE-5993
>                 URL: https://issues.apache.org/jira/browse/GEODE-5993
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Ryan McMahon
>            Assignee: Ryan McMahon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>
> It is possible for a RejectedExecutionException to be thrown due to the following race:
> Thread 1)
> - Call monitorQueryThread() and pass LOW_MEMORY check
> Thread 2)
> - Call cancelAllQueriesDueToMemory() 
> - Shutdown executor
> Thread 1)
> - Schedule cancellation task results in RejectedExecutionException



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)