[SERVER-10286] TTL on subdocument arrays Created: 22/Jul/13  Updated: 20/Nov/23  Resolved: 20/Nov/23

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: 2.5.1
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Skylar Graika Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 10
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

n/a


Issue Links:
Duplicate
is duplicated by SERVER-25669 TTL Index on Embedded documents(sub d... Closed
Assigned Teams:
Storage Execution
Sprint: Execution Team 2020-11-30, Execution Team 2020-12-14, Execution Team 2020-12-28, Execution Team 2021-01-11, Execution Team 2021-01-25, Execution Team 2021-02-08, Execution Team 2021-03-08, Execution Team 2021-03-22, Execution Team 2021-04-05, Execution Team 2021-04-19, Execution Team 2021-05-17, Execution Team 2021-06-14, Execution Team 2021-06-28, Execution Team 2021-07-12, Execution Team 2021-07-26, Execution Team 2021-08-09, Execution Team 2021-08-23, Execution Team 2021-09-06, Execution Team 2021-09-20, Execution Team 2021-10-04, Execution Team 2021-10-18
Participants:
Case:

 Description   

Hello there,

I have implemented a solution that extends upon the current TTL monitor and allows for dynamic expiration times. My solution works in that respect, but now I'm trying to find a way to retain the parent document and just remove the sub-document that was expired. For example, I have a Tag with a sub-document that is an array of Queue. My goal is to maintain the sub-documents using the ttl without deleting the Tag.

Is this possible to with embed sub-docs? Referencing? From looking through past support forums I saw that someone had a similar use-case 10 months ago and I know this will crop-up even more so in the future.

I look forward to hearing back from you!

Cheers!

Skylar



 Comments   
Comment by Steven Vannelli [ 20/Nov/23 ]

Closing out as Won't Do since there isn't enough product motivation at the moment.

Comment by pravin dwiwedi [ 19/Sep/16 ]

I have similar use case. I raised a ticket without seeing this issue so got closed.
Hope this new feature will be there in future version.
Cheers....

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