Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13322

Check for interrupts more frequently for killed/maxTimeMS checks

    • Query Execution

      In commands and operations the server should check if there are interrupts (to respond to kill requests or maxTimeMS limits) to react more timely.

      Yielding and checking for interrupts are strongly tied together in code (in so much as the yielding code checks for interrupt) but callers should sep. them because while it might not be okay to yield at some points, it is okay to terminate or generate an error for the operation.

      A few examples include common commands like count, distinct, findAndModify, update/delete/insert, etc...

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: