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

Add logic to check time-series buckets for mixed-schema data at index time

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-11-01, Execution Team 2021-11-15

      Users that upgrade from earlier versions of the server may contain mixed-schema data in their time-series buckets. As long as the catalog flag that indicates whether a time-series bucket may contain mixed-schema data is set to true, we need to validate all the buckets when trying to index time-series measurements.

      There are two possible outcomes:

      1. There are no buckets containing mixed-schema data. We set the catalog flag to false and subsequent index builds do not have to perform any validation on the buckets.
      2. There is at least one bucket containing mixed-schema data. The index build will fail in this case. We'll also provide a list of options for migrating the time-series buckets to a format that does not contain problematic mixed-schema data.

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

              Created:
              Updated:
              Resolved: