[SERVER-50491] Frequent schema changes due to freeStorageSize limit FTDC retention Created: 24/Aug/20  Updated: 29/Oct/23  Resolved: 22/Sep/20

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: 4.4.0
Fix Version/s: 4.8.0, 4.4.2

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-13889 Investigate changes in SERVER-50491: ... Closed
Related
is related to SERVER-42037 Expose WiredTiger block-manager stats... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-10-05
Participants:

 Description   

In SERVER-42037 we introduced a freeStorageSize metric that reports the amount of bytes available for reuse in the oplog table. But this value is only appended to serverStatus if it is non-zero, which creates frequent schema changes in the case where the oplog table has only a small amount of free space. In one test back-of-the-envelope calculation indicates this was cutting FTDC retention in half. The value should be included in serverStatus even if it's 0.



 Comments   
Comment by Bruce Lucas (Inactive) [ 23/Sep/20 ]

Thanks for the fix and the backport.

Comment by Githook User [ 22/Sep/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-50491 Include freeStorageSize in serverStatus even when zero

(cherry picked from commit f0b9672357e87aa50db46e2da16ed084627c5644)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f2fab88cd3f4843dd01abd18e38379a2d402f0d3

Comment by Githook User [ 22/Sep/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-50491 Include freeStorageSize in serverStatus even when zero
Branch: master
https://github.com/mongodb/mongo/commit/f0b9672357e87aa50db46e2da16ed084627c5644

Generated at Thu Feb 08 05:22:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.