Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10286

TTL on subdocument arrays

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • 2.5.1
    • None
    • Index Maintenance
    • n/a
    • 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

    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

      Attachments

        Issue Links

          Activity

            People

              michael.gargiulo@mongodb.com Michael Gargiulo
              sgraika Skylar Graika
              Votes:
              7 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: