-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 7.1.0-rc0
-
Labels:
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.
- documents
-
SERVER-74061 Support $out for time-series on secondaries and sharded clusters
- Closed