diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2021-02-10 15:24:24 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-10 15:51:11 +0000 |
commit | 861023b28a5dc270d2c459194dab8ea72b3bb817 (patch) | |
tree | d35b11e6fcb0f1fc3042e26f4dbfdcba2157b0ea /src/mongo/db/coll_mod.idl | |
parent | 87bcb24f50b65e08eb0d711edfb59b61ef3c1f91 (diff) | |
download | mongo-861023b28a5dc270d2c459194dab8ea72b3bb817.tar.gz |
SERVER-54010 Clustered indexes 'expireAfterSeconds' option can be modified by collMod
Diffstat (limited to 'src/mongo/db/coll_mod.idl')
-rw-r--r-- | src/mongo/db/coll_mod.idl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mongo/db/coll_mod.idl b/src/mongo/db/coll_mod.idl index bf3726587ee..14e5575f6a1 100644 --- a/src/mongo/db/coll_mod.idl +++ b/src/mongo/db/coll_mod.idl @@ -68,6 +68,17 @@ structs: hidden_new: optional: true type: safeBool + + CollModClusteredIndex: + description: "A type representing the adjustable options on clustered indexes" + strict: true + fields: + expireAfterSeconds: + description: "The number of seconds after which old data should be deleted. This can + be disabled by passing in 'off' as a value" + type: + variant: [string, safeInt64] + commands: collMod: description: "Specify collMod Command." @@ -115,4 +126,8 @@ commands: document in the oplog" optional: true type: safeBool + clusteredIndex: + description: "Adjusts the options on clustered indexes" + optional: true + type: CollModClusteredIndex reply_type: CollModReply
\ No newline at end of file |