[SERVER-42371] Use get_unique_ptr helper in GDB dump sessions command Created: 24/Jul/19  Updated: 29/Oct/23  Resolved: 24/Jul/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.2.0-rc5, 4.3.1

Type: Bug Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: tig-hanganalyzer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-39972 libstdc++ unique_ptr implementation c... Closed
related to SERVER-38045 Dump session catalog using GDB scripting Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Participants:

 Description   

The mongod-dump-sessions command breaks here when trying to access a unique_ptr to the SessionRuntimeInfo type. We should use the get_unique_ptr helper function.



 Comments   
Comment by Githook User [ 25/Jul/19 ]

Author:

{'name': 'William Schultz', 'username': 'will62794', 'email': 'william.schultz@mongodb.com'}

Message: SERVER-42371 Use get_unique_ptr helper in mongod-dump-sessions GDB command

(cherry picked from commit e09a81707daf75e8965cc10d909282db158bc809)
Branch: v4.2
https://github.com/mongodb/mongo/commit/ca14e7349efa9188b8beceb5489325c32328ec96

Comment by Githook User [ 24/Jul/19 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-42371 Use get_unique_ptr helper in mongod-dump-sessions GDB command
Branch: master
https://github.com/mongodb/mongo/commit/e09a81707daf75e8965cc10d909282db158bc809

Comment by William Schultz (Inactive) [ 24/Jul/19 ]

Code review url: https://mongodbcr.appspot.com/500320008/

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