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

Store empty arrays as empty arrays in MinMaxStore

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Execution Team 2022-10-31

      Currently, the MinMaxStore stores empty arrays as an array with a single element of type kUnset as opposed to an array with no elements in it. This results in the need for an additional check to handle this edge case. However, the MinMaxStore should really be storing empty arrays as an array with no elements, so we need to investigate where this is happening and make the appropriate change.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            kris.satya@mongodb.com Kris Satya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: