DocumentSourceCursor should not crash on invalid query

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0, 7.1.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.1
    • Repl 2023-09-04
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have a defensive invariant here which should be changed to an uassert instead because after we support resume token in aggregate, it is possible that a query from external hits the invariant and crash the server.

              Assignee:
              Jiawei Yang
              Reporter:
              Jiawei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: