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

Make TTL mechanism maintain UUIDs rather than collection namespace strings

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Index Maintenance, Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-07-15, Execution Team 2019-07-29

      Our TTL mechanism uses an array of collection namespace strings to keep track of which collections should be "TTL'ed". This mechanism should be updated after the introduction of UUID. UUID is better than namespace because:
      1. No need to re-register collection when the collection gets renamed.
      2. No need to re-register collection when collection is dropped (and a collection with the same name might be created afterwards).

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: