You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ryan McMahon (JIRA)" <ji...@apache.org> on 2018/11/07 17:37:00 UTC

[jira] [Assigned] (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 ]

Ryan McMahon reassigned GEODE-5993:
-----------------------------------

    Assignee: Ryan McMahon

> 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
>             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)