diff options
author | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2019-02-04 14:08:32 -0500 |
---|---|---|
committer | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2019-02-26 19:13:19 -0500 |
commit | a9277e874039f32ce0d848fcdfb10de705c96fd9 (patch) | |
tree | 6bf222fec20aa30afe648d54becb0e0922707b0d /src/mongo/db/repl/replication_coordinator_external_state_impl.cpp | |
parent | 1ba2e45711fb15801539d0bec022a2a474155c09 (diff) | |
download | mongo-a9277e874039f32ce0d848fcdfb10de705c96fd9.tar.gz |
SERVER-39058 Synchronize user set modification in AuthorizationSession with Client
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_external_state_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp index dba73cf46cd..8c6636f86c4 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp @@ -150,7 +150,7 @@ auto makeThreadPool(const std::string& poolName) { threadPoolOptions.poolName = poolName; threadPoolOptions.onCreateThread = [](const std::string& threadName) { Client::initThread(threadName.c_str()); - AuthorizationSession::get(cc())->grantInternalAuthorization(); + AuthorizationSession::get(cc())->grantInternalAuthorization(&cc()); }; return stdx::make_unique<ThreadPool>(threadPoolOptions); } |