-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
Security 2024-11-25
SERVER-95234 makes it so that collections created manually in FSM workloads are now implicitly sharded in sharding suites, whereas previously they would remain unsharded. However, currently this test fails if the collection is sharded. We should either make it so that we can remove the assumes_unsharded_collection tag, or replace the TODO with a comment explaining why we actually do want this test to always use an unsharded collection.
[fsm_workload_test:fle2_compact] uncaught exception: Error: 2 exceptions were thrown, 2 of which were unique: [fsm_workload_test:fle2_compact] [fsm_workload_test:fle2_compact] 1 thread with tids [1] threw [fsm_workload_test:fle2_compact] Foreground src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js [fsm_workload_test:fle2_compact] Error: found code(s) [ 263 ] does not match any of the expected codes [ 112 ]. Original command response: { [fsm_workload_test:fle2_compact] "nInserted" : 0, [fsm_workload_test:fle2_compact] "writeError" : { [fsm_workload_test:fle2_compact] "code" : 263, [fsm_workload_test:fle2_compact] "errmsg" : "Command error committing internal transaction :: caused by :: Transaction was aborted :: caused by :: from shard shard-rs1 :: caused by :: Cannot create new collections inside distributed transactions" [fsm_workload_test:fle2_compact] } [fsm_workload_test:fle2_compact] } : Insert failed, but not with WriteConflict error [fsm_workload_test:fle2_compact] [fsm_workload_test:fle2_compact] doassert@src/mongo/shell/assert.js:20:14 [fsm_workload_test:fle2_compact] assert.writeErrorWithCode@src/mongo/shell/assert.js:981:21 [fsm_workload_test:fle2_compact] _assertCommandFailed@src/mongo/shell/assert.js:811:20 [fsm_workload_test:fle2_compact] assert.commandFailedWithCode@src/mongo/shell/assert.js:888:16 [fsm_workload_test:fle2_compact] assertUntilCommandWorksOrNotWriteError/<@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:58:28 [fsm_workload_test:fle2_compact] assert.soon@src/mongo/shell/assert.js:388:21 [fsm_workload_test:fle2_compact] assertUntilCommandWorksOrNotWriteError@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:52:20 [fsm_workload_test:fle2_compact] insertDocs@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:93:32 [fsm_workload_test:fle2_compact] states[stateName]/<@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:182:70 [fsm_workload_test:fle2_compact] cleanupOnLastIteration@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:155:13 [fsm_workload_test:fle2_compact] states[stateName]@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:182:35 [fsm_workload_test:fle2_compact] runFSM@/data/mci/f45bfdf578189d65ef22663e09614c30/src/jstests/concurrency/fsm_libs/fsm.js:181:20 [fsm_workload_test:fle2_compact] @eval:8:19 [fsm_workload_test:fle2_compact] main@/data/mci/f45bfdf578189d65ef22663e09614c30/src/jstests/concurrency/fsm_libs/worker_thread.js:249:23 [fsm_workload_test:fle2_compact] [fsm_workload_test:fle2_compact] [fsm_workload_test:fle2_compact] 1 thread with tids ["main"] threw [fsm_workload_test:fle2_compact] Foreground Teardown [fsm_workload_test:fle2_compact] Error: [1] != [2] are not equal [fsm_workload_test:fle2_compact] [fsm_workload_test:fle2_compact] doassert@src/mongo/shell/assert.js:20:14 [fsm_workload_test:fle2_compact] assert.eq@src/mongo/shell/assert.js:176:17 [fsm_workload_test:fle2_compact] teardown@/data/mci/f45bfdf578189d65ef22663e09614c30/src/src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js:234:16 [fsm_workload_test:fle2_compact] teardownWorkload@/data/mci/f45bfdf578189d65ef22663e09614c30/src/jstests/concurrency/fsm_libs/runner.js:394:25 [fsm_workload_test:fle2_compact] cleanupWorkload@jstests/concurrency/fsm_libs/resmoke_runner.js:19:25 [fsm_workload_test:fle2_compact] runWorkloads/cleanupResults<@jstests/concurrency/fsm_libs/resmoke_runner.js:203:40 [fsm_workload_test:fle2_compact] runWorkloads@jstests/concurrency/fsm_libs/resmoke_runner.js:202:40
- related to
-
SERVER-95234 Sharded concurrency suites should shard test-defined collections
- Closed