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

shard has been marked stale error in catalog shard POC

    • Sharding NYC
    • Fully Compatible
    • 3

      Error:

      [js_test:chunk_operations_invalidate_single_shard] uncaught exception: Error: command failed: {
      [js_test:chunk_operations_invalidate_single_shard] 	"ok" : 0,
      [js_test:chunk_operations_invalidate_single_shard] 	"errmsg" : "shard has been marked stale",
      [js_test:chunk_operations_invalidate_single_shard] 	"code" : 304,
      [js_test:chunk_operations_invalidate_single_shard] 	"codeName" : "ShardInvalidatedForTargeting",
      [js_test:chunk_operations_invalidate_single_shard] 	"nss" : "test.foo",
      [js_test:chunk_operations_invalidate_single_shard] 	"$clusterTime" : {
      [js_test:chunk_operations_invalidate_single_shard] 		"clusterTime" : Timestamp(1651706914, 36),
      [js_test:chunk_operations_invalidate_single_shard] 		"signature" : {
      [js_test:chunk_operations_invalidate_single_shard] 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [js_test:chunk_operations_invalidate_single_shard] 			"keyId" : NumberLong(0)
      [js_test:chunk_operations_invalidate_single_shard] 		}
      [js_test:chunk_operations_invalidate_single_shard] 	},
      [js_test:chunk_operations_invalidate_single_shard] 	"operationTime" : Timestamp(1651706914, 36)
      [js_test:chunk_operations_invalidate_single_shard] } with original command request: {
      [js_test:chunk_operations_invalidate_single_shard] 	"split" : "test.foo",
      [js_test:chunk_operations_invalidate_single_shard] 	"middle" : {
      [js_test:chunk_operations_invalidate_single_shard] 		"x" : 10
      [js_test:chunk_operations_invalidate_single_shard] 	},
      [js_test:chunk_operations_invalidate_single_shard] 	"lsid" : {
      [js_test:chunk_operations_invalidate_single_shard] 		"id" : UUID("edfc27b6-32c8-4a0b-9ac7-d12cb91b19bd")
      [js_test:chunk_operations_invalidate_single_shard] 	},
      [js_test:chunk_operations_invalidate_single_shard] 	"$clusterTime" : {
      [js_test:chunk_operations_invalidate_single_shard] 		"clusterTime" : Timestamp(1651706914, 36),
      [js_test:chunk_operations_invalidate_single_shard] 		"signature" : {
      [js_test:chunk_operations_invalidate_single_shard] 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [js_test:chunk_operations_invalidate_single_shard] 			"keyId" : NumberLong(0)
      [js_test:chunk_operations_invalidate_single_shard] 		}
      [js_test:chunk_operations_invalidate_single_shard] 	}
      [js_test:chunk_operations_invalidate_single_shard] } on connection: connection to ip-10-122-2-167:20023 :
      [js_test:chunk_operations_invalidate_single_shard] _getErrorWithCode@src/mongo/shell/utils.js:24:13
      [js_test:chunk_operations_invalidate_single_shard] doassert@src/mongo/shell/assert.js:18:14
      [js_test:chunk_operations_invalidate_single_shard] _assertCommandWorked@src/mongo/shell/assert.js:760:25
      [js_test:chunk_operations_invalidate_single_shard] assert.commandWorked@src/mongo/shell/assert.js:852:16
      [js_test:chunk_operations_invalidate_single_shard] setUp@jstests/sharding/chunk_operations_invalidate_single_shard.js:39:12
      [js_test:chunk_operations_invalidate_single_shard] @jstests/sharding/chunk_operations_invalidate_single_shard.js:105:1
      [js_test:chunk_operations_invalidate_single_shard] @jstests/sharding/chunk_operations_invalidate_single_shard.js:111:3
      [js_test:chunk_operations_invalidate_single_shard] failed to load: jstests/sharding/chunk_operations_invalidate_single_shard.js
      
      

            Assignee:
            backlog-server-sharding-nyc [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: