[SERVER-72687] Support for $out to Time-series collections Created: 10/Jan/23  Updated: 02/Feb/24  Resolved: 20/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.3

Type: New Feature Priority: Major - P3
Reporter: Brenda Rodriguez Assignee: Gil Alon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-73529 Refactor _performTimeseriesWrite code... Closed
is depended on by SERVER-73823 Add support for mismatching timeserie... In Code Review
is depended on by COMPASS-6592 Update $out stage operator template t... Closed
is depended on by SERVER-75039 $out should be able to replace a time... Closed
is depended on by SERVER-74061 Support $out for time-series on secon... Closed
is depended on by COMPASS-6558 Investigate changes in SERVER-72687: ... Closed
Documented
Duplicate
is duplicated by SERVER-76265 Complete TODO listed in SERVER-75138 Closed
Problem/Incident
causes SERVER-82085 Race condition between $out to timese... Backlog
Assigned Teams:
Query Execution
Backwards Compatibility: Minor Change
Backport Requested:
v7.0
Sprint: QE 2023-02-20, QE 2023-03-06
Participants:

 Description   

We should accept the time-series spec in the $out stage and use that to create a time-series collection as part of the DocumentSourceOut stage. This should remove any restriction prohibiting $out from targeting an unsharded time-series collection, and add tests that verify the correct behavior. We don't need to support sharded time-series collection as part of this ticket.



 Comments   
Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Erin Zhu', 'email': 'erin.zhu@mongodb.com', 'username': 'erinzhu001'}

Message: SERVER-86118 Query Stats Backport to 7.0 Batch #2

Includes community changes from
SERVER-73907 Ensure telemetry command succeeds after raising FCV
SERVER-75609 Graceful telemetry failures and error tracking
SERVER-75156 separate queryShape from telemetryKey for find requests
SERVER-76610 account for queryShape nesting in telemetry store key
SERVER-76367: Abstract request-specific shapifying logic into RequestShapifiers
SERVER-76424 Replace 'redact' with 'hmac' in $telemetry syntax
SERVER-76781: Decouple opdebug metric collection from telemetry
SERVER-76208 support query shape serialization in IDL for types with custom serializers
with querystats related serialization/redaction changes from
SERVER-72687 Support for $out to Time-series collections

and enterprise changes from
SERVER-76610 account for queryShape nesting in telemetry store key
SERVER-76424 Replace 'redact' with 'hmac' in $telemetry syntax

GitOrigin-RevId: f424d1b1848f85581a870c061b1231219748c00c
Branch: v7.0
https://github.com/mongodb/mongo/commit/5dc8bc61dfdc550f8d643a4db5d3564a21e24245

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}

Message: SERVER-72687 support $out to time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/c94c4f3abd0f9c113067e360269301b14363d53e

Comment by Githook User [ 29/Mar/23 ]

Author:

{'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}

Message: SERVER-72687 Revert $out to time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/58a69ba924e2ca557bf1c208fed59fc948107bd0

Comment by Gil Alon [ 28/Mar/23 ]

Reopening this issue since we decided to revert the change, because SERVER-74061 won't be completed in time for 7.0-r.c.0, and we didn't want to have a partial feature be released.

Comment by Githook User [ 24/Feb/23 ]

Author:

{'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}

Message: SERVER-72687 Add support for $out to timeseries collection
Branch: master
https://github.com/mongodb/mongo/commit/aedd17378dd25615c4337b2a8c02687e0e3d2f70

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