I have an issue with this lab. I tried to find the answer in another thread.
mongoimport --port 26000 -u"m103-admin" -p"m103-pass" --authenticationDatabase “admin” --db m103 --collection products --file /dataset/products.json
Then i run mongos
After sharding the collection and run the test, i get
I am confusing, one message tells me the collection is imported and other said no.
What is wrong?
Otherwise i tried to do the lab again, and when i run test, told me that the collection is properly imported but gave me a hint : there are two shard keys
What is wright?