Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16078

Investigate changes in SERVER-74061: Support $out for time-series on secondaries and sharded clusters

    XMLWordPrintableJSON

Details

    Description

      Original Downstream Change Summary

      SERVER-72687 added a new 'timeseries' option to the $out aggregation stage. Based on the discussion in DOCSP-28261 it was decided that the server docs ticket should be spawned after this ticket is closed. Here is the syntax document: https://docs.google.com/document/d/15lAB2yQ8e_fR4RnihjsJMotEaIiTe9q_qk-D509DWkM/edit

      Description of Linked Ticket

      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

            nick.villahermosa@mongodb.com Nick Villahermosa
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17 weeks, 5 days ago