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

$stdDev accumulator can return imprecise results when spilling to disk

    XMLWordPrintable

Details

    • ALL
    • 48

    Description

      When merging intermediate results which have spilled to disk, the $stdDev accumulator executes the variance calculation involving some arithmetic over the previously calculated mean and . If the mean is a precise double, then this could result in precision loss.

      Attachments

        Issue Links

          Activity

            People

              backlog-query-execution Backlog - Query Execution
              nicholas.zolnierz@mongodb.com Nicholas Zolnierz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: