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

$push and $concatArrays in $bucketAuto count memory twice

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • 0

      When we are adding the element to the input position map, we call add here explicitly and then again in the constructor for SimpleMemoryUsageToken later in the same function. We should only count the memory of each element once.

            Assignee:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Reporter:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: