[SERVER-67036] Creating capped collections does not use minimum size of 4096 bytes Created: 06/Jun/22 Updated: 29/Oct/23 Resolved: 15/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc11, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Xuerui Fa | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||||||||||||||||||
| Sprint: | Execution Team 2022-06-27 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
In our documentation, we state that capped collections use a minimize size of 4096 bytes. From local testing, it seems that this minimum size is not being utilized. We found that collMod does use this minimum size correctly – resizing an existing capped collection to less than 2048 bytes does resize it to 4096. |
| Comments |
| Comment by Githook User [ 20/Jun/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit d507d5e0048bc9093b3f59aec6eb2a02473d6113) |
| Comment by Githook User [ 15/Jun/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Revert " This reverts commit 51e661694db82f5751f86a2efdd83c2427c32ed1. |
| Comment by Githook User [ 14/Jun/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit d507d5e0048bc9093b3f59aec6eb2a02473d6113) |
| Comment by Githook User [ 14/Jun/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 14/Jun/22 ] |
|
We will remove the 256-byte rounding in |