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

Error in aggregation assertion at value.cpp:1368

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.15, 4.3.1, 3.4.24, 4.2.2, 4.0.14
    • Affects Version/s: 4.0.12
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6, v3.4
    • Query 2019-11-04

      When running an aggregation with $group and $first and $last for "$$ROOT" I get this error:

      2019-09-04T13:46:11.118-0400 E QUERY    [js] Error: command failed: {
      	"operationTime" : Timestamp(1567619155, 1218),
      	"ok" : 0,
      	"errmsg" : "assertion src/mongo/db/pipeline/value.cpp:1368",
      	"code" : 8,
      	"codeName" : "UnknownError",
      	"$clusterTime" : {
      		"clusterTime" : Timestamp(1567619155, 1218),
      		"signature" : {
      			"hash" : BinData(0,"Ra+UKIAYLDFuDOJc2Q6v16BRwsI="),
      			"keyId" : NumberLong("6694721349983666177")
      		}
      	}
      } : aggregate failed :
      _getErrorWithCode@src/mongo/shell/utils.js:25:13
      doassert@src/mongo/shell/assert.js:18:14
      _assertCommandWorked@src/mongo/shell/assert.js:536:17
      assert.commandWorked@src/mongo/shell/assert.js:620:16
      DB.prototype._runAggregate@src/mongo/shell/db.js:260:9
      DBCollection.prototype.aggregate@src/mongo/shell/collection.js:1062:12
      @(shell):1:1
      

        1. stacktrace.txt
          51 kB
          Asya Kamsky

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: