-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Sharding EMEA
-
Fully Compatible
-
ALL
-
v7.1
-
Sharding EMEA 2023-10-02
After fixing FSM error reporting in SERVER-81007, the analyze_shard_key workload began failing with the following error(s):
[fsm_workload_test:analyze_shard_key] Error: command failed: { [fsm_workload_test:analyze_shard_key] "ok" : 0, [fsm_workload_test:analyze_shard_key] "errmsg" : "Illegal attempt to change the expected shard version for test2_fsmdb0.fsmcoll0 from ||44|0||65098a117bedf8d61e89e053||Timestamp(1695123985, 17) to ||45|0||65098a117bedf8d61e89e053||Timestamp(1695123985, 17)", [fsm_workload_test:analyze_shard_key] "code" : 640570, [fsm_workload_test:analyze_shard_key] "codeName" : "Location640570", [fsm_workload_test:analyze_shard_key] "$clusterTime" : { [fsm_workload_test:analyze_shard_key] "clusterTime" : Timestamp(1695124076, 5511), [fsm_workload_test:analyze_shard_key] "signature" : { [fsm_workload_test:analyze_shard_key] "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), [fsm_workload_test:analyze_shard_key] "keyId" : NumberLong(0) [fsm_workload_test:analyze_shard_key] } [fsm_workload_test:analyze_shard_key] }, [fsm_workload_test:analyze_shard_key] "operationTime" : Timestamp(1695124076, 5501) [fsm_workload_test:analyze_shard_key] } with original command request: { [fsm_workload_test:analyze_shard_key] "analyzeShardKey" : "test2_fsmdb0.fsmcoll0", [fsm_workload_test:analyze_shard_key] "key" : { [fsm_workload_test:analyze_shard_key] "candidateKeyField" : "hashed" [fsm_workload_test:analyze_shard_key] }, [fsm_workload_test:analyze_shard_key] "sampleRate" : 0.7713051265174957, [fsm_workload_test:analyze_shard_key] "lsid" : { [fsm_workload_test:analyze_shard_key] "id" : UUID("eda922c8-2b1b-4f33-bda2-15e2c2ded267") [fsm_workload_test:analyze_shard_key] }, [fsm_workload_test:analyze_shard_key] "$clusterTime" : { [fsm_workload_test:analyze_shard_key] "clusterTime" : Timestamp(1695124075, 5602), [fsm_workload_test:analyze_shard_key] "signature" : { [fsm_workload_test:analyze_shard_key] "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), [fsm_workload_test:analyze_shard_key] "keyId" : NumberLong(0) [fsm_workload_test:analyze_shard_key] } [fsm_workload_test:analyze_shard_key] } [fsm_workload_test:analyze_shard_key] } on connection: connection to localhost:20012 [fsm_workload_test:analyze_shard_key] [fsm_workload_test:analyze_shard_key] _getErrorWithCode@src/mongo/shell/utils.js:24:13 [fsm_workload_test:analyze_shard_key] doassert@src/mongo/shell/assert.js:18:14 [fsm_workload_test:analyze_shard_key] _assertCommandWorked@src/mongo/shell/assert.js:748:25 [fsm_workload_test:analyze_shard_key] assert.commandWorked@src/mongo/shell/assert.js:842:16 [fsm_workload_test:analyze_shard_key] analyzeShardKey@/data/mci/21785d6e317d053bc83cc8f6eb9b0ec5/src/jstests/concurrency/fsm_workloads/analyze_shard_key.js:985:20 [fsm_workload_test:analyze_shard_key] runFSM@/data/mci/21785d6e317d053bc83cc8f6eb9b0ec5/src/jstests/concurrency/fsm_libs/fsm.js:157:20 [fsm_workload_test:analyze_shard_key] @eval:8:19 [fsm_workload_test:analyze_shard_key] main@/data/mci/21785d6e317d053bc83cc8f6eb9b0ec5/src/jstests/concurrency/fsm_libs/worker_thread.js:229:23
(full log)
- depends on
-
SERVER-81335 Query operations that avoid going through the network when a shard is targeting only itself should create a fresh operation context
- Open
- related to
-
SERVER-81007 FSM workloads no longer fail when $config.states functions throw exceptions
- Closed