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

Clustered indexes 'expireAfterSeconds' option can be modified by collMod

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2021-02-22

      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.

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

              Created:
              Updated:
              Resolved: