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

Improve array handling for time-series metric indexes

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: