connecting to: 127.0.0.1:20487/admin
Server has startup warnings:
2017-08-30T17:39:26.199+0800 I CONTROL [main] ** WARNING: You are running this process as the root user, which is not recommended.
2017-08-30T17:39:26.199+0800 I CONTROL [main]
mongos> db.system.users.count()
2017-09-01T10:39:48.392+0800 E QUERY [thread1] Error: count failed: {
"code" : 70,
"ok" : 0,
"errmsg" : "Shard not found for server: config465/10.200.4.150:27019,10.200.5.150:27019,10.200.6.150:27019"
} :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DBQuery.prototype.count@src/mongo/shell/query.js:370:11
DBCollection.prototype.count@src/mongo/shell/collection.js:1713:12
@(shell):1:1
mongos> db.runCommand( { serverStatus: 1 } )['sharding']['configsvrConnectionString']
config465/10.200.6.150:27019,10.200.5.150:27019,10.200.4.150:27019
- duplicates
-
SERVER-22485 ShardNotFound error when looking up replica set with hosts in a different order than is stored in the ShardRegistry
-
- Closed
-