[SERVER-7866] Balancer ignores jumbo chunks from balancing calculations Created: 06/Dec/12  Updated: 11/Jul/16  Resolved: 12/Dec/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.2.0
Fix Version/s: 2.3.2

Type: Bug Priority: Major - P3
Reporter: David Hows Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Participants:

 Description   

Currently jumbo chunks are ignored from the balancing equation altogether.

This means that if one shard has a large number of jumbo chunks it will achieve equilibrium with the other shards on the number of non-jumbo chunks and have the additional jumbo chunks as overhead.

Eg.
Collection has 334 Chunks of which 70 are jumbo.
Shard1(primary shard) has 158 chunks (88 + 70)
Shard2 has 88 chunks
Shard3 has 88 chunks

The balancer sees all three shards as having 88 chunks as the 70 jumbo chunks are ignored from the count. This leaves the cluster heavily unbalanced.



 Comments   
Comment by auto [ 12/Dec/12 ]

Author:

{u'date': u'2012-12-12T21:26:42Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}

Message: SERVER-7866 balancer shouldn't ignore jumbo chunks, just not try and move them
Branch: master
https://github.com/mongodb/mongo/commit/725f626aae2c2701ded3c0f97e7b5aa4c0b65979

Generated at Thu Feb 08 03:15:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.