Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
-
TIG 17 (07/15/16)
-
0
Description
The implicitly_shard_accessed_collections.js override should blacklist config namespaces to prevent command failures like this:
[js_test:server22767] 2016-03-05T06:23:06.143+0000 assert: command failed: { "ok" : 0, "errmsg" : "can't shard config database" } : enabling sharding on the 'config' db failed
|
[js_test:server22767] 2016-03-05T06:23:06.143+0000 _getErrorWithCode@src/mongo/shell/utils.js:23:13
|
[js_test:server22767] 2016-03-05T06:23:06.143+0000 doassert@src/mongo/shell/assert.js:13:14
|
[js_test:server22767] 2016-03-05T06:23:06.143+0000 assert.commandWorked@src/mongo/shell/assert.js:240:5
|
[js_test:server22767] 2016-03-05T06:23:06.144+0000 DB.prototype.getCollection@jstests/libs/override_methods/implicitly_shard_accessed_collections.js:44:13
|
[js_test:server22767] 2016-03-05T06:23:06.144+0000 sh.waitForBalancerOff@src/mongo/shell/utils_sh.js:218:17
|
[js_test:server22767] 2016-03-05T06:23:06.144+0000 sh.waitForBalancer@src/mongo/shell/utils_sh.js:268:9
|
[js_test:server22767] 2016-03-05T06:23:06.144+0000 ShardingTest/this.stopBalancer@src/mongo/shell/shardingtest.js:601:13
|
[js_test:server22767] 2016-03-05T06:23:06.144+0000 ShardingTest@src/mongo/shell/shardingtest.js:1321:13
|
[js_test:server22767] 2016-03-05T06:23:06.144+0000 @jstests/core/server22767.js:2:10
|