summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_rollback.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-09-06 13:16:29 -0400
committerBenety Goh <benety@mongodb.com>2017-09-06 13:17:49 -0400
commit456ba544978a0d41a2261bf65da686874fb631a2 (patch)
tree40e06df83c3ceefb96912f889cc94c915ac1c9b9 /src/mongo/db/repl/rs_rollback.h
parente3f3b1357bb2838140f6e9a42ff704237d68afbe (diff)
downloadmongo-456ba544978a0d41a2261bf65da686874fb631a2.tar.gz
SERVER-30381 Remove handing for rolling back dropSource collections
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.h')
-rw-r--r--src/mongo/db/repl/rs_rollback.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/repl/rs_rollback.h b/src/mongo/db/repl/rs_rollback.h
index d4e4015f279..d3722c39ed9 100644
--- a/src/mongo/db/repl/rs_rollback.h
+++ b/src/mongo/db/repl/rs_rollback.h
@@ -335,20 +335,6 @@ struct FixUpInfo {
* and collectionsToRename by calling recordRollingBackDrop().
*/
Status recordDropTargetInfo(const BSONElement& dropTarget, const BSONObj& obj, OpTime opTime);
-
- /**
- * This function handles adding the necessary information into the fixUpInfo struct to
- * roll back cross database renames. We handle cross database renames differently from
- * within database renames. We add the collection that was created during the renameCollection
- * to collectionsToDrop, and add the source collection that was dropped into
- * collectionsToRemoveFromDropPendingCollections and collectionsToRename by calling
- * recordRollingBackDrop(). We handle the dropTarget in the rename in a separate step.
- */
- Status recordCrossDatabaseRenameRollbackInfo(const BSONElement& dropSource,
- const BSONObj& obj,
- const NamespaceString& nss,
- UUID uuid,
- OpTime opTime);
};
// Indicates that rollback cannot complete and the server must abort.