[COMPASS-6985] Investigate changes in SERVER-77586: Consider allowing capped collections to have TTL indexes Created: 28/Jun/23  Updated: 29/Jan/24  Resolved: 29/Jan/24

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-77586 Consider allowing capped collections ... Closed
Epic Link: COMPASS-6403
Documentation Changes: Not Needed

 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.



 Comments   
Comment by Anna Henningsen [ 29/Jan/24 ]

No impact based on himanshu.singh@mongodb.com's investigation

Comment by PM Bot [ 13/Jul/23 ]

Fix Version updated for upstream SERVER-77586:
7.1.0-rc0

Comment by PM Bot [ 11/Jul/23 ]

Fix Version updated for upstream SERVER-77586:

Comment by PM Bot [ 10/Jul/23 ]

Fix Version updated for upstream SERVER-77586:
7.1.0-rc0

Comment by PM Bot [ 29/Jun/23 ]

Fix Version updated for upstream SERVER-77586:

Comment by PM Bot [ 28/Jun/23 ]

Fix Version updated for upstream SERVER-77586:
7.1.0-rc0

Generated at Wed Feb 07 22:44:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.