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

Estimate total number of arrays via type counter instead of ArrayMin

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • QO 2022-10-31

      In a number of places CE needs the total number of arrays in a document path. This has been estimated via the total number of values in an ArrayMin histogram. It turns out that this histogram contains all minimum values in arrays per each data type. This makes it incorrect to use ArrayMin.

      This task will change the use of ArrayMin to the array type counter stored in ArrayHistogram.

            Assignee:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: