summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/auth/role_graph_update.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/auth/role_graph_update.cpp b/src/mongo/db/auth/role_graph_update.cpp
index 25811c41854..59d4f5dad7e 100644
--- a/src/mongo/db/auth/role_graph_update.cpp
+++ b/src/mongo/db/auth/role_graph_update.cpp
@@ -320,7 +320,8 @@ Status handleOplogCommand(RoleGraph* roleGraph, const BSONObj& cmdObj) {
return Status::OK();
}
}
- if (cmdName == "startIndexBuild" || cmdName == "commitIndexBuild") {
+ if (cmdName == "startIndexBuild" || cmdName == "abortIndexBuild" ||
+ cmdName == "commitIndexBuild") {
if (cmdObj.firstElement().str() != rolesCollectionNamespace.coll()) {
return Status::OK();
}