[SERVER-73507] [CQF] Fix ArrDistribution generation on windows Created: 31/Jan/23 Updated: 29/Oct/23 Resolved: 03/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ben Shteinfeld | Assignee: | Ben Shteinfeld |
| 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 | ||||
| Sprint: | QO 2023-02-06 | ||||
| Participants: | |||||
| Linked BF Score: | 154 | ||||
| Description |
|
Avoid initializing a std::discrete_distribution for the parentDescriptor if _reuseScalarsRatio is 0. On Windows, the STL implementation makes an assertion that the probabilities sum to greater than 0. In the case that we build a dataset descriptor with only one ArrDistribution, we hit this assertion. Example |
| Comments |
| Comment by Githook User [ 03/Feb/23 ] |
|
Author: {'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}Message: |