[SERVER-60662] Address bug spotted by RepositionLastSplitPointsTest Created: 13/Oct/21 Updated: 29/Oct/23 Resolved: 14/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.1.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.1
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 164 | ||||||||
| Description |
|
The RepositionLastSplitPointsTest test is very "sensible" as it expect the auto splitter behaviour to be very precise. It helped spotting the following bug that needs to be solved in order to avoid future failures: this strict gt comparison needs to be replaced by a >=, otherwise the generated chunks will always contain one key more than the expected size. Moreover, the size of the string inserted in the generated documents should be changed to 1024^2 - 24 in order to obtain documents of exactly 1MB (contrary to the calculation done under |
| Comments |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 13/Oct/21 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |