Closed erdinccurebal closed 1 year ago
@erdinccurebal I think that's because you have not enable sharding or creating shard key for articles collection, check this step https://github.com/minhhungit/mongodb-cluster-docker-compose#-step-4-enable-sharding-and-setup-sharding-key-
I will try again by making a video, if not, I will share the video with you.
Hi, i got an error like this.
mongos> db.articles.getShardDistribution(); Collection news.articles is not sharded.