[SERVER-77998] Allow 'full' when reading from /proc/pressure/cpu Created: 12/Jun/23  Updated: 29/Oct/23  Resolved: 15/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc6, 6.0.8

Type: Bug Priority: Major - P3
Reporter: Adrian Gonzalez Montemayor Assignee: Adrian Gonzalez Montemayor
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-45255 Capture Pressure Stall Information in... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.3, v6.0
Sprint: Security 2023-06-26
Participants:

 Description   

In some linux versions /proc/pressure/cpu contains only one line 'some' while other versions also contain 'full', this one filled with zeros. 

Right now we assumed /proc/pressure/cpu only contained 'some'. We should change this in procparser_test.cpp.



 Comments   
Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Adrian Gonzalez', 'email': 'adriangonzalezmontemayor@gmail.com', 'username': 'adriangzz'}

Message: SERVER-77998 Allow 'full' when reading from /proc/pressure/cpu
Branch: v7.0
https://github.com/mongodb/mongo/commit/ca845553ea3b4b1f54ae3c3fc05a1d3a39cf3bd6

Comment by Githook User [ 23/Jun/23 ]

Author:

{'name': 'Adrian Gonzalez', 'email': 'adriangonzalezmontemayor@gmail.com', 'username': 'adriangzz'}

Message: SERVER-77998 Allow 'full' when reading from /proc/pressure/cpu

(cherry picked from commit bc2e514fa32df06a60159ed2e2ec914d6eedb281)
Branch: v6.0
https://github.com/mongodb/mongo/commit/a687e690f053509a66d98e4fbdd668972098482b

Comment by Githook User [ 15/Jun/23 ]

Author:

{'name': 'Adrian Gonzalez', 'email': 'adriangonzalezmontemayor@gmail.com', 'username': 'adriangzz'}

Message: SERVER-77998 Allow 'full' when reading from /proc/pressure/cpu
Branch: master
https://github.com/mongodb/mongo/commit/bc2e514fa32df06a60159ed2e2ec914d6eedb281

Generated at Thu Feb 08 06:37:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.