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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.6.12, 3.0.8, 3.1.5
    • Affects Version/s: 3.0.7
    • Component/s: Querying
    • None
    • Major Change
    • ALL
    • Quint Iteration 3.1.2, Quint Iteration 3, Quint Iteration 4, Quint Iteration 5
    • 0

      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.

        1. hasnext_repro.js
          0.5 kB
          Andrew Emil

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            aaron Aaron Staple
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: