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.
- depends on
-
SERVER-53984 Add metadata for clustered indexes into the durable catalog
- Closed