diff options
author | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2019-02-28 13:41:40 -0500 |
---|---|---|
committer | Shreyas Kalyan <shreyas.kalyan@10gen.com> | 2019-03-04 15:44:09 -0500 |
commit | 447847d93d6e0a21b018d5df45528e815c7c13d8 (patch) | |
tree | 02b7857e766fa85730a61b4b189d4cc7d48d8bfd /src/mongo/db/index_rebuilder.cpp | |
parent | bede0e9b7afee4bb30025b1ffc3e22763aec9e93 (diff) | |
download | mongo-r3.4.20-rc0.tar.gz |
SERVER-39058 Synchronize user set modification in AuthorizationSession with Clientr3.4.20-rc0r3.4.20
(cherry picked from commit a9277e874039f32ce0d848fcdfb10de705c96fd9)
Diffstat (limited to 'src/mongo/db/index_rebuilder.cpp')
-rw-r--r-- | src/mongo/db/index_rebuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_rebuilder.cpp b/src/mongo/db/index_rebuilder.cpp index de00ef920d1..b2857b65c0e 100644 --- a/src/mongo/db/index_rebuilder.cpp +++ b/src/mongo/db/index_rebuilder.cpp @@ -150,7 +150,7 @@ void forceRestartInProgressIndexesOnCollection(OperationContext* opCtx, const Na } void restartInProgressIndexesFromLastShutdown(OperationContext* txn) { - AuthorizationSession::get(txn->getClient())->grantInternalAuthorization(); + AuthorizationSession::get(txn->getClient())->grantInternalAuthorization(txn); std::vector<std::string> dbNames; |