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

SBE invariant failure with clustered collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 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'
    • Execution Team 2021-10-18

      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}}
      

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

              Created:
              Updated:
              Resolved: