Ryan McMahon created GEODE-5993:
-----------------------------------

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

Reply via email to