-
Type: New Feature
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.7.0
-
Component/s: Storage
-
Labels: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 documented by
-
DOCS-15148 Investigate changes in SERVER-1864: Support Capped Collection Size Increase
- Closed
- 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
-
DOCS-15981 [Server] Specify that using collMod to downsize a capped collection only deletes excess documents on the next insertion
- Closed
-
DOCS-15579 [Server] Resize of capped collections requires FCV 6.0
- Closed
- related to
-
SERVER-67036 Creating capped collections does not use minimum size of 4096 bytes
- Closed
-
SERVER-64186 Evaluate doing batched capped deletes in CollectionImpl::_cappedDeleteAsNeeded
- Open