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

Failure in internal_parse.js: received command without explicit readConcern on an internalClient connection

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • ALL
    • Sharding NYC 2023-08-21, Sharding NYC 2023-09-04, Sharding NYC 2023-09-18, Sharding NYC 2023-10-02, Sharding NYC 2023-10-16
    • 2

      Tests

      • jstests/aggregation/sources/densify/internal_parse.js
      • jstests/aggregation/api_version_stage_allowance_checks.js

      failed with 

       

       

      [js_test:api_version_stage_allowance_checks] 	"errmsg" : "received command without explicit readConcern on an internalClient connection { aggregate: \"testColl\", pipeline: [ { $mergeCursors: { sort: { y: 1.0, z: 1.0 }, compareWholeSortKey: false, remotes: [], nss: \"test.mergeCursors\", allowPartialResults: false } } ], cursor: {}, writeConcern: { w: \"majority\" }, apiVersion: \"1\", apiStrict: true, lsid: { id: UUID(\"79bdec16-2394-43d7-85c0-f91ad9ca9c1f\") }, $clusterTime: { clusterTime: Timestamp(1682357159, 2), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: \"api_version_stage_allowance_checks\" }",[js_test:api_version_stage_allowance_checks] 	"code" : 4569200,[js_test:api_version_stage_allowance_checks] 	"codeName" : "Location4569200",[js_test:api_version_stage_allowance_checks] 	"$clusterTime" : {[js_test:api_version_stage_allowance_checks] 		"clusterTime" : Timestamp(1682357159, 2),[js_test:api_version_stage_allowance_checks] 		"signature" : {[js_test:api_version_stage_allowance_checks] 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),[js_test:api_version_stage_allowance_checks] 			"keyId" : NumberLong(0)[js_test:api_version_stage_allowance_checks] 		}[js_test:api_version_stage_allowance_checks] 	},[js_test:api_version_stage_allowance_checks] 	"operationTime" : Timestamp(1682357159, 2)[js_test:api_version_stage_allowance_checks] }

       

      Error is also reported a bit different in one of the tests:

       

      [js_test:internal_parse] 2023-04-24T17:25:49.652Z assert: command did not fail with any of the following codes [ 40414 ] {[js_test:internal_parse] 	"ok" : 0,[js_test:internal_parse] 	"errmsg" : "received command without explicit readConcern on an internalClient connection { aggregate: \"internal_parse\", pipeline: [ { $_internalDensify: { field: \"a\", range: { step: 1.0 } } } ], cursor: {}, writeConcern: { w: \"majority\" }, lsid: { id: UUID(\"0d2e20f0-c330-44ad-b67b-71b45d7cd957\") }, $clusterTime: { clusterTime: Timestamp(1682357149, 5), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: \"internal_parse\" }",[js_test:internal_parse] 	"code" : 4569200,[js_test:internal_parse] 	"codeName" : "Location4569200",[js_test:internal_parse] 	"$clusterTime" : {[js_test:internal_parse] 		"clusterTime" : Timestamp(1682357149, 5),[js_test:internal_parse] 		"signature" : {[js_test:internal_parse] 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),[js_test:internal_parse] 			"keyId" : NumberLong(0)[js_test:internal_parse] 		}[js_test:internal_parse] 	},[js_test:internal_parse] 	"operationTime" : Timestamp(1682357149, 5)[js_test:internal_parse] } : BSON field '$densify.range.bounds' is missing but a required field[js_test:internal_parse] _getErrorWithCode@src/mongo/shell/utils.js:24:13[js_test:internal_parse] doassert@src/mongo/shell/assert.js:18:14[js_test:internal_parse] _assertCommandFailed@src/mongo/shell/assert.js:834:29[js_test:internal_parse] assert.commandFailedWithCode@src/mongo/shell/assert.js:882:16[js_test:internal_parse] runTest@jstests/aggregation/sources/densify/libs/parse_util.js:14:16[js_test:internal_parse] parseUtil@jstests/aggregation/sources/densify/libs/parse_util.js:210:12[js_test:internal_parse] @jstests/aggregation/sources/densify/internal_parse.js:36:10

      Example run:
      https://parsley.mongodb.com/resmoke/fd6d7e10acd02f6b1eac7f9630be5294/test/1758eee9e8ffbd820d56614364989f1c?bookmarks=0,437&shareLine=108

      and

      https://parsley.mongodb.com/resmoke/332aae8f70647543c9655d491dadb355/test/1758eeecbdb5e68fc5e2faee2260c3b4?bookmarks=0,557&shareLine=23

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            adi.zaimi@mongodb.com Adi Zaimi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: