-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.7.0
-
Component/s: Sharding
-
Labels:None
-
Environment:db version v1.7.1-pre-, pdfile version 4.5
Thu Sep 9 15:50:22 git version: 10f750fa617e7499a89e9a140d89ddb4a7427ad6
-
ALL
1. Set up one replica set (2 servers)
2. Add enough data to it in one collection so it will be split into at least 8 chunks when sharded later.
3. Set up 3 sharding config servers
4. Start one mongos pointing to above config servers
5. Add above replica set as sole shard
6. Set up another replica set (2 servers)
7. Add second replica set as second shard
8. Enable sharding on above db and collection.
9. Wait until the balancer moves the first chunk to the second shard, then cut one config server from the network (using iptables, drop packets to/from it).
10. Wait at least one minute.
11. Reconnect config server to network (using iptables, allow packets to/from it).
Problem: No more chunks will move to the second shard, even if you add more data.