[SERVER-34199] "timing" section of serverStatus can have large impact on ftdc retention Created: 29/Mar/18  Updated: 29/Oct/23  Resolved: 11/Oct/18

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 4.1.4, 3.6.18, 4.0.18

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

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Sprint: Security 2018-09-24, Security 2018-10-22
Participants:

 Description   

The "timing" section of serverStatus is added if and only serverStatus was slow. Under some conditions related to server performance misbehavior this can cause frequent schema changes that greatly reduces the compression efficiency of ftdc which in turn greatly reduces the retention period and hampers diagnosing the very problem that is causing the slow serverStatus. It should always be present or never be present. Since it is also logged to the mongod log I think it would be ok to remove it from serverStatus. Alternatively it could be made optional in serverStatus, on by default for compatibility, but removed from ftdc.



 Comments   
Comment by Githook User [ 27/Mar/20 ]

Author:

{'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-34199 Remove serverStatus timing section from FTDC

(cherry picked from commit a222ef5e647ac527f7d4f8636bcacd6cc0ae6b8e)
Branch: v4.0
https://github.com/mongodb/mongo/commit/c256da787a986f3adf2096306a68e782f62a3113

Comment by Githook User [ 27/Mar/20 ]

Author:

{'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-34199 Remove serverStatus timing section from FTDC

(cherry picked from commit a222ef5e647ac527f7d4f8636bcacd6cc0ae6b8e)
Branch: v3.6
https://github.com/mongodb/mongo/commit/a411d4c1c47a2ec38bcc856007538695c0fcc2a9

Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-34199 Remove serverStatus timing section from FTDC
Branch: master
https://github.com/mongodb/mongo/commit/a222ef5e647ac527f7d4f8636bcacd6cc0ae6b8e

Comment by Mark Benvenuto [ 23/Aug/18 ]

This may be mitigated by SERVER-34864 but I need to investigate if the timing section is numerical or string based. If the former, then SERVER-34864 will not help.

Generated at Thu Feb 08 04:35:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.