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

SBE invariant failure with clustered collections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      MongoDB Enterprise > db.createCollection('clustered_collection', {clusteredIndex: {key: {_id: 1}, unique: true}})
      { "ok" : 1 }
      MongoDB Enterprise > db.clustered_collection.find({_id: 'x'})
      Error: error doing query: failed: network error while attempting to run command 'find' on host '127.0.0.1:27017'
      

      Show
      MongoDB Enterprise > db.createCollection('clustered_collection', {clusteredIndex: {key: {_id: 1}, unique: true}}) { "ok" : 1 } MongoDB Enterprise > db.clustered_collection.find({_id: 'x'}) Error: error doing query: failed: network error while attempting to run command 'find' on host '127.0.0.1:27017'
    • Sprint:
      Execution Team 2021-10-18

      Description

      Spotted on r5.1.0-alpha-1234-gfe4cf6134b . Is it due to the reenabling of SBE as the default query engine in SERVER-59178?

       
      {"t":\{"$date":"2021-10-01T14:34:46.408+00:00"},"s":"F", "c":"ASSERT", "id":23079, "ctx":"conn1","msg":"Invariant failure","attr":\{"expr":"collection->ns().isOplog()","file":"src/mongo/db/query/sbe_stage_builder_coll_scan.cpp","line":250}}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haley.connelly Haley Connelly
              Reporter:
              josef.ahmad Josef Ahmad
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: