[SERVER-42147] Make TTL mechanism maintain UUIDs rather than collection namespace strings Created: 10/Jul/19  Updated: 29/Oct/23  Resolved: 29/Jul/19

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Storage
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-40714 Change CollectionInfoCache to be a de... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-07-15, Execution Team 2019-07-29
Participants:

 Description   

Our TTL mechanism uses an array of collection namespace strings to keep track of which collections should be "TTL'ed". This mechanism should be updated after the introduction of UUID. UUID is better than namespace because:
1. No need to re-register collection when the collection gets renamed.
2. No need to re-register collection when collection is dropped (and a collection with the same name might be created afterwards).



 Comments   
Comment by Githook User [ 29/Jul/19 ]

Author:

{'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}

Message: SERVER-42147 Make TTL mechanism maintain UUIDs rather than collection namespace strings
Branch: master
https://github.com/mongodb/mongo/commit/68f20ddfbd4e002ca5b55e24e1213f53cf89883b

Generated at Thu Feb 08 04:59:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.