Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73507

[CQF] Fix ArrDistribution generation on windows

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-02-06
    • 154

      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

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: