Comment 3 for bug 1839666

Revision history for this message
Charles Clark (charlesweb) wrote :

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:
enable_configsvr(config_data["config_server_port"])

Proposed:
enable_configsvr(config_data)

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?
Reference - https://docs.mongodb.com/v3.6/reference/program/mongod/#cmdoption-mongod-shardsvr