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

Do not parse array info for cells that don't have doubly-nested arrays

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

      While it's functionally correct to use CursorWithArrayDepth on all kinds of cells, for cells that are known not to have doubly-nested arrays it's unnecessary to parse the array-info because all cell values are at level 0 anyway. Investigate the actual perf difference between the two cursors and replace CursorWithArrayDepth with a simple Cursor if warranted.

            Assignee:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Reporter:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: