[SERVER-43103] Divide by zero error when moving extremely small chunks Created: 30/Aug/19 Updated: 29/Oct/23 Resolved: 16/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3 Required, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Saltz (Inactive) | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng-kal | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Sharding 2019-10-21 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 59 | ||||||||||||
| Description |
|
In this line it's possible for avgRecSize to be 0 if the number of bytes returned by dataSize is less than the number of records in the collection, which can cause a floating point exception/crash. |
| Comments |
| Comment by Githook User [ 16/Oct/19 ] |
|
Author: {'email': 'marcos.grillo@10gen.com', 'name': 'Marcos José Grillo Ramírez'}Message: |