Segfault for query on compound wildcard index

XMLWordPrintableJSON

    • Query Optimization
    • Major Change
    • ALL
    • v8.2, v8.0, v7.0
    • Hide
      MongoDB Enterprise > db.foo.drop()
      true
      
      MongoDB Enterprise > db.foo.insert({a: 1})
      WriteResult({ "nInserted" : 1 })
      
      MongoDB Enterprise > db.foo.createIndex({a: 1, "$**": 1}, {wildcardProjection: {_id: 0}})
      {
      	"numIndexesBefore" : 1,
      	"numIndexesAfter" : 2,
      	"createdCollectionAutomatically" : false,
      	"ok" : 1
      }
      
      MongoDB Enterprise > db.foo.find({a: 1})
      <segfault>
      
      Show
      MongoDB Enterprise > db.foo.drop() true MongoDB Enterprise > db.foo.insert({a: 1}) WriteResult({ "nInserted" : 1 }) MongoDB Enterprise > db.foo.createIndex({a: 1, "$**" : 1}, {wildcardProjection: {_id: 0}}) { "numIndexesBefore" : 1, "numIndexesAfter" : 2, "createdCollectionAutomatically" : false , "ok" : 1 } MongoDB Enterprise > db.foo.find({a: 1}) <segfault>
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This repros on master, 8.0, and 7.0.

            Assignee:
            Militsa Sotirova
            Reporter:
            Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: