[SERVER-36627] Take thread local currentClient out of anonymous namespace Created: 13/Aug/18  Updated: 13/Aug/18  Resolved: 13/Aug/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Repl 2018-08-27
Participants:

 Description   

That way it would be possible to refer to the currentClient in GDB in a core dump in cases where it would otherwise be impossible to discover what Client is in use.



 Comments   
Comment by Spencer Brody (Inactive) [ 13/Aug/18 ]

This can be done in GDB without this change:

p ('mongo::(anonymous namespace)::currentClient')

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