Interrupted canonicalization can cause crash

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.9.0
    • Component/s: Stability
    • None
    • ALL
    • Hide

      Either add a failpoint to canonicalize, or interrupt the following query:

      db.coll.distinct( "a", { "b" : 1} )

      Show
      Either add a failpoint to canonicalize, or interrupt the following query: db.coll.distinct( "a", { "b" : 1} )
    • Query 2021-02-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      During a distinct without projects, it's possible that an interruption will cause the server to crash.  This is due to a failure to check the return code of canonicalize in getExecutorWithoutProjection.

              Assignee:
              Joel Redman (Inactive)
              Reporter:
              Joel Redman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: