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

Clustered indexes 'expireAfterSeconds' option can be modified by collMod

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2021-02-22

    Description

      The collMod command will need to allow the expireAfterSeconds option to be added, removed and modified on collections with clustered indexes. collMod will continue to take an exclusive lock on the collection during the procedure.

      {
          collMod: <collection>,
          clusteredIndex: {
              expireAfterSeconds: <int>,
          },
      }
      

      collMod will return InvalidOptions when run against regular or non-existent collections. An expireAfterSeconds value of 0 will remove the expireAfterSeconds field from the durable catalog metadata.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: