[SERVER-41148] FTDC is calling boost::filesystem without passing an error_code parameter Created: 14/May/19  Updated: 29/Oct/23  Resolved: 05/Jun/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.4.22, 3.6.14, 4.0.11, 4.2.0-rc2, 4.3.1

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6, v3.4
Sprint: Security 2019-06-03, Security 2019-06-17
Participants:
Linked BF Score: 17

 Description   

FTDC is making a few calls to boost::filesystem which caused FTDC to throw an exception during shutdown.

These calls should be updated to use the error_code style. If these apis are called without error_code they throw an exception



 Comments   
Comment by Githook User [ 26/Jun/19 ]

Author:

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

Message: SERVER-41148 FTDC is calling boost::filesystem without passing an error_code parameter

(cherry picked from commit d8e2c4748fda6fc24ea0d1bb1541ea9c66f5e1cf)
Branch: v3.4
https://github.com/mongodb/mongo/commit/5f87413e36fd9f57dbfbf10c2790dd7bce386d95

Comment by Githook User [ 24/Jun/19 ]

Author:

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

Message: SERVER-41148 FTDC is calling boost::filesystem without passing an error_code parameter

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

Comment by Githook User [ 24/Jun/19 ]

Author:

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

Message: SERVER-41148 FTDC is calling boost::filesystem without passing an error_code parameter

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

Comment by Githook User [ 24/Jun/19 ]

Author:

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

Message: SERVER-41148 FTDC is calling boost::filesystem without passing an error_code parameter

(cherry picked from commit d8e2c4748fda6fc24ea0d1bb1541ea9c66f5e1cf)
Branch: v4.2
https://github.com/mongodb/mongo/commit/5589dff848109c2dfabb13ff4fd8026d93ee7644

Comment by Githook User [ 05/Jun/19 ]

Author:

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

Message: SERVER-41148 FTDC is calling boost::filesystem without passing an error_code parameter
Branch: master
https://github.com/mongodb/mongo/commit/d8e2c4748fda6fc24ea0d1bb1541ea9c66f5e1cf

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