[SERVER-52525] support expireAfterSeconds for time-series collections Created: 31/Oct/20  Updated: 29/Oct/23  Resolved: 23/Nov/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-10075 Should forbid illegal form of TTL ind... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-11-30
Participants:
Linked BF Score: 11

 Description   

The optional `expireAfterSeconds` is a time-series collection creation option that indicates after how many seconds old time-series data should be deleted.

Effectively, specifying the expireAfterSeconds option makes the _id index become a TTL index.



 Comments   
Comment by Githook User [ 21/Nov/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-52525 validate expireAfterSeconds time-series option
Branch: master
https://github.com/mongodb/mongo/commit/642e1e7abbe202d8f3c7425843e0e0a4953d893b

Comment by Githook User [ 20/Nov/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-52525 support expireAfterSeconds for time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/d9ba623f77b9c42b3917bd3090fc37e143bcf3d0

Comment by Githook User [ 20/Nov/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-52525 extract index_key_validate::validateIndexSpecTTL() from createIndexes command
Branch: master
https://github.com/mongodb/mongo/commit/ee08d86e202e58f488d1303341839a831e9bfc68

Generated at Thu Feb 08 05:28:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.