|
When changing WireSpec to be a decorator of ServiceContext (PR Here), we introduced a few uses of getGlobalServiceContext() and getCurrentServiceContext() into the gRPC code:
https://github.com/10gen/mongo/blob/6a836ac18b9530f4a5e0f87a048497eb0686a77d/src/mongo/transport/grpc/test_fixtures.h#L395-L398
https://github.com/10gen/mongo/blob/6a836ac18b9530f4a5e0f87a048497eb0686a77d/src/mongo/transport/grpc/wire_version_provider.cpp#L37-L39
https://github.com/10gen/mongo/blob/6a836ac18b9530f4a5e0f87a048497eb0686a77d/src/mongo/transport/grpc/service.cpp#L101-L103
We should find a way to remove these calls during one of the gRPC projects.
|