[DOCS-16225] [Server] Investigate SERVER-77586: Consider allowing capped collections to have TTL indexes Created: 28/Jun/23  Updated: 13/Nov/23  Resolved: 02/Oct/23

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

Type: Task Priority: Minor - P4
Reporter: Backlog - Core Eng Program Management Team Assignee: Alison Huh
Resolution: Fixed Votes: 0
Labels: query
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-77586 Consider allowing capped collections ... Closed
Related
Participants:
Days since reply: 32 weeks ago

 Description   
Original Downstream Change Summary

TTL indexes can now be created on capped collections, previously this was not allowed.

Description of Linked Ticket

MongoDB doesn't currently allow capped collections to have TTL indexes. The reason dated back to when capped collections used to not replicate explicitly and so it wasn't possible to delete from them and get consistent results. In PM-1858, we want the collections for storing sampled queries (config.sampledQueries and config.sampledQueriesDiff) to be both capped and have a TTL index. These collections currently have TTL indexes but are not capped because of the aforementioned restriction.


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