diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-07-22 15:54:48 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-07-23 11:54:10 -0400 |
commit | 26aff1dcc9a45e72a91a206119c12cc280148175 (patch) | |
tree | bc79b88fb0618822343c7b4e2d44303f901f4eb8 /src/mongo/db/repl/rs_rollback.cpp | |
parent | 296c18571dd7decd33fdf62f0a23869129682264 (diff) | |
download | mongo-26aff1dcc9a45e72a91a206119c12cc280148175.tar.gz |
SERVER-13961 Thread through OperationContext to the AuthorizationManager
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.cpp')
-rw-r--r-- | src/mongo/db/repl/rs_rollback.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/rs_rollback.cpp b/src/mongo/db/repl/rs_rollback.cpp index 1ca35ae1e83..7aab1a71bc0 100644 --- a/src/mongo/db/repl/rs_rollback.cpp +++ b/src/mongo/db/repl/rs_rollback.cpp @@ -662,7 +662,7 @@ namespace repl { // TODO: fatal error if this throws? oplogCollection->temp_cappedTruncateAfter(txn, fixUpInfo.commonPointOurDiskloc, false); - Status status = getGlobalAuthorizationManager()->initialize(); + Status status = getGlobalAuthorizationManager()->initialize(txn); if (!status.isOK()) { warning() << "Failed to reinitialize auth data after rollback: " << status; warn = true; |