Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14569

Investigate changes in SERVER-13938: Allow TTLMonitor to use existing indexes starting with Date field

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 5.1.0-rc0
    • manual, Server
    • None
    • 3
    • ServerDocs2021: Jun22 - Jun29, ServerDocs2021: Jun29 - Jul6, ServerDocs2021: Jul6 - Jul13, ServerDocs2021: Jul13 - Jul20, ServerDocs2021: Jul20 - Jul27, ServerDocs2021: Jul27 - Aug3, ServerDocs2021: Aug3 - Aug10, ServerDocs2021: Aug10 - Aug17, ServerDocs2021: Aug17 - Aug24, ServerDocs2021: Aug24 - Aug31, ServerDocs2021: Aug31 - Sep07
    • true

    Description

      Description

      Downstream Change Summary

      Non-TTL indexes could not be converted to TTL indexes before and will error if tried with collMod command. This ticket enables using collMod to achieve the task. Under such a circumstance, the command returns only the new value of "expireAfterSeconds".

      Description of Linked Ticket

      If the composite index starts with the Date field, the TTLMonitor's queries would be as fast and will not require an extra index.

      We have lots of time-series data with composite indexes starting with Date, we're forced to create the TTL index although it's used solely by the TTLMonitor.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Issue Links

          Activity

            People

              naomi.pentrel@mongodb.com Naomi Pentrel (Inactive)
              backlog-server-pm Backlog - Core Eng Program Management Team
              Backlog - Core Eng Program Management Team Backlog - Core Eng Program Management Team
              Yuhong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 5 weeks ago