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

"command failed because of stale config" failure in catalog shard POC

    XMLWordPrintable

Details

    • Fully Compatible

    Description

      [js_test:agg_mongos_secondaryok] uncaught exception: Error: assert failed : aggregate command failed: {
      [js_test:agg_mongos_secondaryok] 	"ok" : 0,
      [js_test:agg_mongos_secondaryok] 	"errmsg" : "command failed because of stale config :: caused by :: sharding status of collection test.user is not currently available for description and needs to be recovered from the config server",
      [js_test:agg_mongos_secondaryok] 	"code" : 13388,
      [js_test:agg_mongos_secondaryok] 	"codeName" : "StaleConfig",
      [js_test:agg_mongos_secondaryok] 	"ns" : "test.user",
      [js_test:agg_mongos_secondaryok] 	"vReceived" : {
      [js_test:agg_mongos_secondaryok] 		"e" : ObjectId("000000000000000000000000"),
      [js_test:agg_mongos_secondaryok] 		"t" : Timestamp(0, 0),
      [js_test:agg_mongos_secondaryok] 		"v" : Timestamp(0, 0)
      [js_test:agg_mongos_secondaryok] 	},
      [js_test:agg_mongos_secondaryok] 	"shardId" : "agg_mongos_secondaryok-rs0",
      [js_test:agg_mongos_secondaryok] 	"$clusterTime" : {
      [js_test:agg_mongos_secondaryok] 		"clusterTime" : Timestamp(1655995468, 11),
      [js_test:agg_mongos_secondaryok] 		"signature" : {
      [js_test:agg_mongos_secondaryok] 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [js_test:agg_mongos_secondaryok] 			"keyId" : NumberLong(0)
      [js_test:agg_mongos_secondaryok] 		}
      [js_test:agg_mongos_secondaryok] 	},
      [js_test:agg_mongos_secondaryok] 	"operationTime" : Timestamp(1655995468, 11)
      [js_test:agg_mongos_secondaryok] } :
      [js_test:agg_mongos_secondaryok] doassert@src/mongo/shell/assert.js:20:14
      [js_test:agg_mongos_secondaryok] assert@src/mongo/shell/assert.js:151:17
      [js_test:agg_mongos_secondaryok] doTest@jstests/sharding/agg_mongos_secondaryok.js:33:11
      [js_test:agg_mongos_secondaryok] @jstests/sharding/agg_mongos_secondaryok.js:44:7
      [js_test:agg_mongos_secondaryok] @jstests/sharding/agg_mongos_secondaryok.js:48:3
      [js_test:agg_mongos_secondaryok] failed to load: jstests/sharding/agg_mongos_secondaryok.js
      
      

      Similar failure in:

      jstests/sharding/agg_out_rc_available.js
      jstests/sharding/balance_repl.js
      jstests/sharding/change_streams_primary_shard_unaware.js
      jstests/sharding/change_streams_update_lookup_shard_metadata_missing.js
      jstests/sharding/count_secondaryok.js
      

      Attachments

        Issue Links

          Activity

            People

              kshitij.gupta@mongodb.com Kshitij Gupta
              andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: