Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5993

QueryMonitor can throw RejectedExecutionException due to race

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              rmcmahon Ryan McMahon
              rmcmahon Ryan McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h