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

Prohibit sparse indexes on time-series measurements

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-10-04

    Description

      We have run into an issue here, where having multiple types for the same field can cause issues. For example, consider an index on x.y. If one measurement has {x: 5}, one has {x: <date>}, and one has {x: {y: true}}, then the min will be 5, the max will be <date>, and the bucket will not be indexed since x.y is undefined in min and max.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: