summaryrefslogtreecommitdiff
path: root/src/mongo/db/coll_mod.idl
diff options
context:
space:
mode:
authorFaustoleyva54 <fausto.leyva@mongodb.com>2022-03-03 20:01:51 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-03 20:52:18 +0000
commitd9f9585cdcd285e9c12ba2fd459f9be7e666082d (patch)
treeef1ee3c22e50a6484400667e5f19d8cd0a2580a0 /src/mongo/db/coll_mod.idl
parente16ca01d841ef74a8b9467778ae5456978570cbe (diff)
downloadmongo-d9f9585cdcd285e9c12ba2fd459f9be7e666082d.tar.gz
SERVER-1864 Support Capped Collection Size Increase
Diffstat (limited to 'src/mongo/db/coll_mod.idl')
-rw-r--r--src/mongo/db/coll_mod.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mongo/db/coll_mod.idl b/src/mongo/db/coll_mod.idl
index 5d9422e111f..a79677d9589 100644
--- a/src/mongo/db/coll_mod.idl
+++ b/src/mongo/db/coll_mod.idl
@@ -188,6 +188,21 @@ structs:
type: uuid
optional: true
unstable: true
+ cappedSize:
+ description: "Update the maximum size in bytes for the capped collection."
+ type: safeInt64
+ optional: true
+ validator:
+ gte: 1
+ lte: 1125899906842624 # 1 PB
+ unstable: false
+ cappedMax:
+ description: "Update the maximum number of documents allowed in the capped collection."
+ type: safeInt64
+ optional: true
+ validator:
+ lt: 2147483648 # 2^31
+ unstable: false
commands:
collMod: