-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Fully Compatible
-
ALL
-
-
Sharding F (01/29/16)
Caught this bug testing sharding_csrs_continuous_config_stepdown_WT suite with forced primary config server stepdown.
The count command to the config server isn't retrying when it abruptly (due to the forced primary step down) finds a secondary, but slipping through and throwing an error.
Log: https://logkeeper.mongodb.org/build/569ec1129041300b277bfb39/test/569ec5f6be07c46e4d29f476#L5542
Error:
[js_test:split_large_key] 2016-01-19T23:26:05.735+0000 2016-01-19T23:26:05.479+0000 E QUERY [thread1] Error: count failed: { [js_test:split_large_key] 2016-01-19T23:26:05.735+0000 "shards" : { [js_test:split_large_key] 2016-01-19T23:26:05.735+0000 [js_test:split_large_key] 2016-01-19T23:26:05.735+0000 }, [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "cause" : { [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "ok" : 0, [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "errmsg" : "not master and slaveOk=false", [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "code" : 13435 [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 }, [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "code" : 13435, [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "ok" : 0, [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 "errmsg" : "failed on : config" [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 } : [js_test:split_large_key] 2016-01-19T23:26:05.736+0000 _getErrorWithCode@src/mongo/shell/utils.js:23:13 [js_test:split_large_key] 2016-01-19T23:26:05.737+0000 DBQuery.prototype.count@src/mongo/shell/query.js:359:11 [js_test:split_large_key] 2016-01-19T23:26:05.737+0000 verifyChunk@jstests/sharding/split_large_key.js:15:22 [js_test:split_large_key] 2016-01-19T23:26:05.737+0000 @jstests/sharding/split_large_key.js:61:5 [js_test:split_large_key] 2016-01-19T23:26:05.737+0000 @jstests/sharding/split_large_key.js:38:1 [js_test:split_large_key] 2016-01-19T23:26:05.737+0000 @jstests/sharding/split_large_key.js:3:2 [js_test:split_large_key] 2016-01-19T23:26:05.737+0000 [js_test:split_large_key] 2016-01-19T23:26:05.739+0000 failed to load: jstests/sharding/split_large_key.js
- is testing
-
SERVER-22157 Force primary config server step down in sharding_continuous_config_stepdown suite
- Closed
- related to
-
SERVER-22265 Add support for retries against the config server for count command
- Closed