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

random_DDL_setFCV_operations FSM workload tries operation during movePrimary

    • Sharding EMEA
    • Fully Compatible
    • ALL
    • v7.1
    • Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16

      After fixing FSM error reporting in SERVER-81007, the random_DDL_setFCV_operations workload began failing with the following error(s):

      [fsm_workload_test:random_DDL_setFCV_operations] uncaught exception: Error: 1 thread with tids [9] threw
      [fsm_workload_test:random_DDL_setFCV_operations] 
      [fsm_workload_test:random_DDL_setFCV_operations]         Foreground jstests/concurrency/fsm_workloads/random_DDL_setFCV_operations.js
      [fsm_workload_test:random_DDL_setFCV_operations]         Error: command failed: {
      [fsm_workload_test:random_DDL_setFCV_operations]         	"ok" : 0,
      [fsm_workload_test:random_DDL_setFCV_operations]         	"errmsg" : "movePrimary is in progress for namespace random_DDL_setFCV_operations_DB_1.sharded_coll_0",
      [fsm_workload_test:random_DDL_setFCV_operations]         	"code" : 319,
      [fsm_workload_test:random_DDL_setFCV_operations]         	"codeName" : "MovePrimaryInProgress",
      [fsm_workload_test:random_DDL_setFCV_operations]         	"$clusterTime" : {
      [fsm_workload_test:random_DDL_setFCV_operations]         		"clusterTime" : Timestamp(1695123733, 295),
      [fsm_workload_test:random_DDL_setFCV_operations]         		"signature" : {
      [fsm_workload_test:random_DDL_setFCV_operations]         			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [fsm_workload_test:random_DDL_setFCV_operations]         			"keyId" : NumberLong(0)
      [fsm_workload_test:random_DDL_setFCV_operations]         		}
      [fsm_workload_test:random_DDL_setFCV_operations]         	},
      [fsm_workload_test:random_DDL_setFCV_operations]         	"operationTime" : Timestamp(1695123733, 294)
      [fsm_workload_test:random_DDL_setFCV_operations]         } with original command request: {
      [fsm_workload_test:random_DDL_setFCV_operations]         	"setFeatureCompatibilityVersion" : "7.2",
      [fsm_workload_test:random_DDL_setFCV_operations]         	"confirm" : true,
      [fsm_workload_test:random_DDL_setFCV_operations]         	"lsid" : {
      [fsm_workload_test:random_DDL_setFCV_operations]         		"id" : UUID("f3128eb8-130f-4e60-8e97-dec18a81f7e0")
      [fsm_workload_test:random_DDL_setFCV_operations]         	},
      [fsm_workload_test:random_DDL_setFCV_operations]         	"$clusterTime" : {
      [fsm_workload_test:random_DDL_setFCV_operations]         		"clusterTime" : Timestamp(1695123733, 184),
      [fsm_workload_test:random_DDL_setFCV_operations]         		"signature" : {
      [fsm_workload_test:random_DDL_setFCV_operations]         			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [fsm_workload_test:random_DDL_setFCV_operations]         			"keyId" : NumberLong(0)
      [fsm_workload_test:random_DDL_setFCV_operations]         		}
      [fsm_workload_test:random_DDL_setFCV_operations]         	}
      [fsm_workload_test:random_DDL_setFCV_operations]         } on connection: connection to localhost:20007
      [fsm_workload_test:random_DDL_setFCV_operations] 
      [fsm_workload_test:random_DDL_setFCV_operations]         _getErrorWithCode@src/mongo/shell/utils.js:24:13
      [fsm_workload_test:random_DDL_setFCV_operations]         quietlyDoAssert@/data/mci/b07c436005e263d808ca9545b69ab6e9/src/jstests/concurrency/fsm_libs/assert.js:57:18
      [fsm_workload_test:random_DDL_setFCV_operations]         _assertCommandWorked@src/mongo/shell/assert.js:748:25
      [fsm_workload_test:random_DDL_setFCV_operations]         assert.commandWorked@src/mongo/shell/assert.js:842:16
      [fsm_workload_test:random_DDL_setFCV_operations]         wrapAssertFn@/data/mci/b07c436005e263d808ca9545b69ab6e9/src/jstests/concurrency/fsm_libs/assert.js:70:22
      [fsm_workload_test:random_DDL_setFCV_operations]         assertWithLevel/</assertWithLevel[fn]@/data/mci/b07c436005e263d808ca9545b69ab6e9/src/jstests/concurrency/fsm_libs/assert.js:111:20
      [fsm_workload_test:random_DDL_setFCV_operations]         $config</$config.states.setFCV@/data/mci/b07c436005e263d808ca9545b69ab6e9/src/jstests/concurrency/fsm_workloads/random_DDL_setFCV_operations.js:27:26
      [fsm_workload_test:random_DDL_setFCV_operations]         runFSM@/data/mci/b07c436005e263d808ca9545b69ab6e9/src/jstests/concurrency/fsm_libs/fsm.js:157:20
      [fsm_workload_test:random_DDL_setFCV_operations]         @eval:8:19
      [fsm_workload_test:random_DDL_setFCV_operations]         main@/data/mci/b07c436005e263d808ca9545b69ab6e9/src/jstests/concurrency/fsm_libs/worker_thread.js:229:23
      

      (full log)

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: