From 26aff1dcc9a45e72a91a206119c12cc280148175 Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Tue, 22 Jul 2014 15:54:48 -0400 Subject: SERVER-13961 Thread through OperationContext to the AuthorizationManager --- src/mongo/db/repl/rs_rollback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/repl/rs_rollback.cpp') 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; -- cgit v1.2.1