-
Type: New Feature
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.7.0
-
Component/s: Storage
-
None
-
Fully Compatible
-
Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07, Execution Team 2022-02-21, Execution Team 2022-03-07
Allow users to resize capped collections using the 'collMod' command. Create two new parameters for 'collMod' to either increase or decrease the size and/or the document limit of a capped collection.
Example resize command:
{collMod: "cappedCollection", cappedSize: maxSize, cappedMax: maxDocs}
This operation may only be performed when the featureCompatibilityVersion is set to at least 6.0.
- is duplicated by
-
SERVER-55237 Create a new command that resizes regular capped collections
- Closed
-
SERVER-3230 Can capped collection auto increase size and sharding
- Closed
- is related to
-
SERVER-69223 Resizing capped collection does not work
- Closed
- related to
-
SERVER-67036 Creating capped collections does not use minimum size of 4096 bytes
- Closed
-
SERVER-89877 `modify` change events don’t reflect effective cappedSize
- Closed
-
SERVER-64186 Evaluate doing batched capped deletes in CollectionImpl::_cappedDeleteAsNeeded
- Open