(Mongo V3.6) Shard Servers now require a --shardsvr option when the mongod process is spawned. I haven’t traced the code in the charm yet but “shardsvr” is not located anywhere. Maybe reloading each Replicaset mongod when the shard relationship to mongos is enabled? Or maybe just reading the config file and setting the --shardsvr option during the initial spawn?
Reference - https://docs.mongodb.com/v3.6/reference/program/mongod/#cmdoption-mongod-shardsvr
Hey all. Just wanted to bring a bit more attention on this bug report. There are two more changes that need to be made before it can be closed out.
1) Enabling configsvr -- Very quick change
Currently: configsvr( config_ data["config_ server_ port"])
enable_
Proposed: configsvr( config_ data)
enable_
2) Enabling Shard Servers
Here's my notes from above:
(Mongo V3.6) Shard Servers now require a --shardsvr option when the mongod process is spawned. I haven’t traced the code in the charm yet but “shardsvr” is not located anywhere. Maybe reloading each Replicaset mongod when the shard relationship to mongos is enabled? Or maybe just reading the config file and setting the --shardsvr option during the initial spawn? /docs.mongodb. com/v3. 6/reference/ program/ mongod/ #cmdoption- mongod- shardsvr
Reference - https:/