diff options
author | Faustoleyva54 <fausto.leyva@mongodb.com> | 2022-03-03 20:01:51 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-03 20:52:18 +0000 |
commit | d9f9585cdcd285e9c12ba2fd459f9be7e666082d (patch) | |
tree | ef1ee3c22e50a6484400667e5f19d8cd0a2580a0 /src/mongo/db/coll_mod.idl | |
parent | e16ca01d841ef74a8b9467778ae5456978570cbe (diff) | |
download | mongo-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.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 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: |