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

Improve array handling for time-series metric indexes

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Execution Team 2021-09-20, Execution Team 2021-10-04

      SERVER-59305 introduces a validation method which scans over the measurement data for time-series indexes if the corresponding control field is indexed, in order to reject measurements with disallowed array values.

      We can avoid some of these scans by detecting

      1. if the min and max values saved the the control fields preclude any array-valued measurements or
      2. if we have already scanned this data field for another indexed key (e.g. the compound index defined on control.min.x and control.max.x might try to scan data.x twice).

      There may be other conditions under which we can avoid an unnecessary scan, and we should investigate further

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: