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

Add support for mismatching timeseries spec for $out

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Integration
    • Execution Team 2023-02-20, QI 2023-11-13, QI 2023-11-27, QI 2023-12-11, QI 2023-12-25, QI 2024-01-08, QI 2024-01-22, QI 2024-02-05, QI 2024-02-19

    Description

      The current implementation of $out for time-series assumes that if $out is replacing an existing time-series collection, the specification the user provides matches the existing time-series collection, and raises an error if not. However, we can try to support changing the specifications of the time-series collection. We need to check if the metaField and timeField are changed, and if so update the indexes of the new collection accordingly. We also need to decide how conflicting options will be handled. 

      Attachments

        Activity

          People

            naama.bareket@mongodb.com Naama Bareket
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: