On mongodb’s shard Cluster Dynamic Adding Fragments

  mongodb, question

I have set up a cluster of fragments on the machine, which includes four fragments, each of which is composed of a replica set. When the program accesses, it can route data to each fragment.
But today I dynamically added a fragment when the cluster was running. No data was routed to the newly added fragment during the test. My adding process is as follows:
1. Open a new replica set
2, run addShard command on an instance of mongos
The screenshot is as follows:图片描述

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ saw data on the new slice this morning. I tested yesterday that there was no data ~, please tell me whether it will take time for the pieces to take effect. Or how to set it up. Thank you

You need to balance the data. You need to look at the state of the slices.
It takes time for the newly added slices to take effect, depending on the amount of data