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

Support $out for time-series on secondaries and sharded clusters

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.3
    • None
    • None
    • None
    • Query Execution
    • Fully Compatible
    • v7.0
    • QE 2023-03-06, QE 2023-03-20

    Description

      The current implementation of $out will error when run on a secondary node and sharded clusters. The ReplicaSetNodeProcessInterface and ShardsvrProcessInterface need to add support for createTimeseries and insertTimeseries that are declared in the NonShardsvrProcessInterface. These functions will have to send commands to the primary. The commands to create time-series collections and rename collections will use the collection namespace substring "tmp.agg_out" to determine the command derives from the $out aggregation stage.

      This ticket will also add guard the new feature behind a fcv check.

      Attachments

        Activity

          People

            gil.alon@mongodb.com Gil Alon
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: