[SERVER-37618] Capture all the logs in lock_stats_suboperation_logs.js Created: 12/Oct/18  Updated: 29/Oct/23  Resolved: 15/Oct/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.6.9, 4.0.4, 4.1.5

Type: Bug Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
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: Storage NYC 2018-10-22
Participants:
Linked BF Score: 10

 Description   

This is a test fix.
lock_stats_suboperation_logs.js relies on getting all the logs from the mongod program. However, calling rawMongoProgramOutput() after a command has finished does not guarantee that all the logs related to the command will be captured. Instead, we need to stop the mongod before calling rawMongoProgramOutput() to get all the logs.



 Comments   
Comment by Githook User [ 26/Oct/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-37618 Capture all the logs in lock_stats_suboperation_logs.js

(cherry picked from commit 399135312416e5fd5e541246855bdb87fcedd6aa)
Branch: v3.6
https://github.com/mongodb/mongo/commit/198f899d027bdcbaf99556f29c94f4cd3d3bcf3d

Comment by Githook User [ 26/Oct/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-37618 Capture all the logs in lock_stats_suboperation_logs.js

(cherry picked from commit 399135312416e5fd5e541246855bdb87fcedd6aa)
Branch: v4.0
https://github.com/mongodb/mongo/commit/260d6135b0ea55e076091ed80618a1ede0534207

Comment by Githook User [ 15/Oct/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-37618 Capture all the logs in lock_stats_suboperation_logs.js
Branch: master
https://github.com/mongodb/mongo/commit/399135312416e5fd5e541246855bdb87fcedd6aa

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