Dear forum users. Please do not kick immediately for the question, but since I am new to this issue, I need a little advice on sharding and replication of the mongodb base.

In general, the question is: there is an article that describes the process ( https://premaseem.wordpress.com/2016/02/14/mongodb-script-to-run-sharding-with-replica-set-on-local-machine / ). I did everything according to the instructions, several instances were up. Now, when writing data to mongos: 27017, the data is replicated only to the localhost: 47017 server, while at the same time on the localhost: 37017 and localhost: 57017 servers, neither the school base nor its collections appear. Is this the correct operation of the servers? What is wrong here?

Thanks in advance for any advice.

    0