theThe chunk seems to sverage { "_id" : "flanker", "primary" : "rs11", "partitioned" : true } flanker.bill shard key: { "_id" : "hashed" } unique: false balancing: true chunks: rs1 73 rs10 73 rs11 73 rs12 73 rs13 73 rs14 73 rs15 73 rs2 72 rs3 72 rs4 72 rs5 72 rs6 72 rs7 72 rs8 72 rs9 72 too many chunks to print, use verbose if you want to force print but the Quantity and size are not same node 10: rs10:PRIMARY> show dbs admin 0.000GB bjc_papa 0.351GB flanker 35.605GB hades 0.162GB local 19.968GB za-ordergather 0.000GB rs10:PRIMARY> db.bill.find().count() 12730327 rs10:PRIMARY> db.claim.find().count() 4889074 rs10:PRIMARY> db.commissionBill.find().count() 7657692 rs10:PRIMARY> db.endorsement.find().count() 7279615 rs10:PRIMARY> db.policy.find().count() 1729638 any other node, for example: rs2:PRIMARY> show dbs admin 0.000GB bjc_papa 0.453GB flanker 3.889GB hades 0.152GB local 6.441GB za-ordergather 0.000GB rs2:PRIMARY> db.bill.find().count() 3971029 rs2:PRIMARY> db.claim.find().count() 1969355 rs2:PRIMARY> db.commissionBill.find().count() 1521794 rs2:PRIMARY> db.endorsement.find().count() 951906 rs2:PRIMARY> db.policy.find().count() 1789974 canaverage
{ "_id" : "flanker", "primary" : "rs11", "partitioned" : true }
flanker.bill
shard key: { "_id" : "hashed" }
unique: false
balancing: true
chunks:
rs1 73
rs10 73
rs11 73
rs12 73
rs13 73
rs14 73
rs15 73
rs2 72
rs3 72
rs4 72
rs5 72
rs6 72
rs7 72
rs8 72
rs9 72
too many chunks to print, use verbose if you want to force print
but the Quantity and size are not same
node 10:
rs10:PRIMARY> show dbs
admin 0.000GB
bjc_papa 0.351GB
flanker 35.605GB
hades 0.162GB
local 19.968GB
za-ordergather 0.000GB
rs10:PRIMARY> db.bill.find().count()
12730327
rs10:PRIMARY> db.claim.find().count()
4889074
rs10:PRIMARY> db.commissionBill.find().count()
7657692
rs10:PRIMARY> db.endorsement.find().count()
7279615
rs10:PRIMARY> db.policy.find().count()
1729638
any other node, for example:
rs2:PRIMARY> show dbs
admin 0.000GB
bjc_papa 0.453GB
flanker 3.889GB
hades 0.152GB
local 6.441GB
za-ordergather 0.000GB
rs2:PRIMARY> db.bill.find().count()
3971029
rs2:PRIMARY> db.claim.find().count()
1969355
rs2:PRIMARY> db.commissionBill.find().count()
1521794
rs2:PRIMARY> db.endorsement.find().count()
951906
rs2:PRIMARY> db.policy.find().count()
1789974
Can anyone tell me why, Which makes me very confused?thanks