[DOCS-16078] Investigate changes in SERVER-74061: Support $out for time-series on secondaries and sharded clusters Created: 28/Apr/23  Updated: 13/Nov/23  Resolved: 06/Oct/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: 7.1.0-rc0
Fix Version/s: 7.1.0-rc0, 7.0.3, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Nick Villahermosa
Resolution: Fixed Votes: 0
Labels: sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-74061 Support $out for time-series on secon... Closed
Participants:
Days since reply: 17 weeks, 5 days ago

 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.



 Comments   
Comment by Nick Villahermosa [ 06/Oct/23 ]

Backports: v7.0

Comment by Gil Alon [ 26/Sep/23 ]

I just wanted to flag that $out to time-series was backported to 7.0.3, since this ticket is to document $out to timeseries for 7.1. There is this DOCS ticket for that backport DOCS-16405

Generated at Thu Feb 08 08:14:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.