[SERVER-3561] chunk size of 0 causes floating point exception Created: 09/Aug/11 Updated: 12/Jul/16 Resolved: 05/Oct/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Brandon Diamond |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
To reproduce, set up a mongos, config server, and shard, set chunkSize to 0, and enable sharding on a db. In master, caused by return rand() % ( MaxChunkSize / 5 ); in chunk.cpp: mkDataWritten() |
| Comments |
| Comment by Brandon Diamond [ 05/Oct/11 ] |
|
Aborts launch with --chunksize 0 and emits warning (& ignores) when chunksize set to 0 in settings collection. |
| Comment by auto [ 05/Oct/11 ] |
|
Author: {u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}Message: |