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

Error in aggregation assertion at value.cpp:1368

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.12
    • Fix Version/s: 3.6.15, 4.3.1, 3.4.24, 4.2.2, 4.0.14
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0, v3.6, v3.4
    • Sprint:
      Query 2019-11-04

      Description

      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
      

        Attachments

        1. stacktrace.txt
          51 kB
          Asya Kamsky

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: