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

Interrupted canonicalization can cause crash

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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

      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@mongodb.com Joel Redman (Inactive)
            Reporter:
            joel.redman@mongodb.com Joel Redman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: