summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_rollback.h
diff options
context:
space:
mode:
authorKatherine Walker <katherine.walker@mongodb.com>2017-10-12 17:34:05 -0400
committerKatherine Walker <katherine.walker@mongodb.com>2017-10-20 10:53:27 -0400
commit999d491ed3b27d47dd0a8d9d86b4f7359f2dfae3 (patch)
tree4c55986caa1c445433c23e775dc880e648438ab4 /src/mongo/db/repl/rs_rollback.h
parentb3d26b5f94636870f75b92582d6b7c31190a1295 (diff)
downloadmongo-999d491ed3b27d47dd0a8d9d86b4f7359f2dfae3.tar.gz
SERVER-31295 SERVER-31489 Allow applyOps to rollback without UUID
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.h')
-rw-r--r--src/mongo/db/repl/rs_rollback.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/repl/rs_rollback.h b/src/mongo/db/repl/rs_rollback.h
index d3722c39ed9..265e3104a62 100644
--- a/src/mongo/db/repl/rs_rollback.h
+++ b/src/mongo/db/repl/rs_rollback.h
@@ -356,7 +356,9 @@ private:
* rolling back node from after the common point. "ourObj" is the oplog document that needs
* to be reverted.
*/
-Status updateFixUpInfoFromLocalOplogEntry(FixUpInfo& fixUpInfo, const BSONObj& ourObj);
+Status updateFixUpInfoFromLocalOplogEntry(FixUpInfo& fixUpInfo,
+ const BSONObj& ourObj,
+ bool isNestedApplyOpsCommand);
/**
* This function uses the FixUpInfo struct to undo all of the operations that occurred after the