$push and $concatArrays in $bucketAuto count memory twice

XMLWordPrintableJSON

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

      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
              Reporter:
              Militsa Sotirova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: