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

SBE invariant failure with clustered collections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • 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

    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

        1. mongod.log
          37 kB
          Josef Ahmad

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: