Hi all, I can’t understand what’s happening.
I have created 2 shards with 3 replica set each one. Mongos is running. I launch the import command, I connect to mongos and asking for m103.products count I receive the right number: 516784
I proceed enabling sharding, adding an index and then adding a shard key.
I ask for shard status and I can see that balancer is running.
I wait until it ends, then I exit and try to validate the lab, but I receive the error:
Incorrect number of documents imported - make sure you import the entire dataset.
So I connect again to mongos asking again for the m103.products count and I receive 734669.
How is it possible? Why my actions result into a collection growth?