-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Sharding EMEA 2021-05-17
There is a TODO in the codebase to allow the drop_database.js workload to run in the presence of stepdowns, the latest error found is related to the drop database command:
uncaught exception: Error: 1 thread with tids [8] threw Foreground jstests/concurrency/fsm_workloads/drop_database.js Error: command failed: { "info" : "mongos", "ok" : 0, "errmsg" : "replSetGetStatus is not supported through mongos", "$clusterTime" : { "clusterTime" : Timestamp(1617846803, 24), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } }, "operationTime" : Timestamp(1617846803, 24) } with original command request: { "replSetGetStatus" : 1, "lsid" : { "id" : UUID("9b77ac1d-79a8-4937-b8bc-c1f562abb8e4") }, "$clusterTime" : { "clusterTime" : Timestamp(1617846802, 31), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } } } on connection: connection to localhost:20009 : error getting replication status from primary _getErrorWithCode@src/mongo/shell/utils.js:25:13 doassert@src/mongo/shell/assert.js:18:14 _assertCommandWorked@src/mongo/shell/assert.js:719:17 assert.commandWorked@src/mongo/shell/assert.js:811:16 awaitLatestOperationMajorityConfirmed@jstests/libs/override_methods/implicitly_retry_on_database_drop_pending.js:15:27 runCommandWithRetries/<@jstests/libs/override_methods/implicitly_retry_on_database_drop_pending.js:142:13 assert.soon@src/mongo/shell/assert.js:366:21 runCommandWithRetries@jstests/libs/override_methods/implicitly_retry_on_database_drop_pending.js:48:5 Mongo.prototype.runCommand@jstests/libs/override_methods/implicitly_retry_on_database_drop_pending.js:163:12 runCommandWithReadAndWriteConcerns@jstests/libs/override_methods/set_read_and_write_concerns.js:176:12 overrideRunCommand/Mongo.prototype.runCommand@jstests/libs/override_methods/override_helpers.js:81:20 runCommandCheckForOperationNotSupportedInTransaction@jstests/libs/override_methods/check_for_operation_not_supported_in_transaction.js:16:15 overrideRunCommand/Mongo.prototype.runCommand@jstests/libs/override_methods/override_helpers.js:81:20 runClientFunctionWithRetries@src/mongo/shell/session.js:371:27 runCommand@src/mongo/shell/session.js:466:25 DB.prototype._runCommandImpl@src/mongo/shell/db.js:155:12 DB.prototype.runCommand@src/mongo/shell/db.js:170:16 DB.prototype.dropDatabase@src/mongo/shell/db.js:402:12 createAndDrop@jstests/concurrency/fsm_workloads/drop_database.js:20:40 runFSM@jstests/concurrency/fsm_libs/fsm.js:129:21 @eval:8:9 main@jstests/concurrency/fsm_libs/worker_thread.js:217:17 @eval:5:12 @eval:3:24 _threadStartWrapper@:26:16 : throwError@jstests/concurrency/fsm_libs/runner.js:354:23 runWorkloads@jstests/concurrency/fsm_libs/resmoke_runner.js:202:5 @jstests/concurrency/fsm_libs/resmoke_runner.js:283:1
- is depended on by
-
SERVER-56646 Enable drop_database_sharded.js FSM workload in stepdown suites
- Closed
- is related to
-
SERVER-54587 Make create collection resilient to stepdowns
- Closed