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

Queries that are killed during a yield should return error to user instead of partial result set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 3.0.7
    • Fix Version/s: 2.6.12, 3.0.8, 3.1.5
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Major Change
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Quint Iteration 3.1.2, Quint Iteration 3, Quint Iteration 4, Quint Iteration 5
    • Linked BF Score:
      0

      Description

      While a query is yielded, it may be killed for a number of reasons, including:

      • collection drop
      • database drop
      • index drop

      Killed queries that have generated a partial result set will return these partial results without returning an error. We should consider having killed queries fail with a useful error message.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: