[SERVER-3735] Reload settings every pass through the balancer loop Created: 31/Aug/11 Updated: 11/Jul/16 Resolved: 22/May/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | mongos, splitting | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
We should reload the chunksize setting from the config db each pass through the balancer loop |
| Comments |
| Comment by auto [ 22/May/12 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Reload shards and chunksize even if balancer is disabled |
| Comment by Mathias Stearn [ 09/May/12 ] |
|
There is already code to do this but due to a bug it didn't happen every time. Review should be posted soon. Renaming from "Reload settings (chunksize) before (auto)splitting??" because when we split is dependent on the chunk size which makes it the wrong place to reload. As a contrived example, if the chunksize is set to 1GB then lowered to 64MB, no mongos would pickup the change since it will be waiting for a huge chunk to be split-worthy. |
| Comment by Eliot Horowitz (Inactive) [ 01/Sep/11 ] |
|
Not sure exactly what the right timing is, probably not every split. |