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

TTL on subdocument arrays

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.1
    • Component/s: Index Maintenance
    • None
    • Environment:
      n/a
    • Storage Execution
    • 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

      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

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            sgraika Skylar Graika
            Votes:
            10 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: