Currently, if the config server's order in the mongos configuration doesn't match the configuration, the following warning message is logged:
W NETWORK [connXYZ] db exception when initializing on config, current connection state is { state: { conn: "CSRS_ReplicaSet/host1:port1,host2:port2,host3:port3", vinfo: "config:CSRS_ReplicaSet/host3:port3,host1:port1,host2:port2", cursor: "(empty)", count: 0, done: false }, retryNext: false, init: false, finish: false, errored: false } :: caused by :: 70 Shard not found for server: CSRS_ReplicaSet/host1:port1,host2:port2,host3:port3
Since the order of config servers insn't important for CSRS, the warning shouldn't be logged.
- is related to
-
SERVER-22485 ShardNotFound error when looking up replica set with hosts in a different order than is stored in the ShardRegistry
- Closed