summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source.h
diff options
context:
space:
mode:
authorAlex Taskov <alex.taskov@mongodb.com>2020-01-14 21:55:45 +0000
committerevergreen <evergreen@mongodb.com>2020-01-14 21:55:45 +0000
commit169f13aff2b62483e9678409759528a2f9db58e7 (patch)
tree7c16a1d73667ff1f757c27c1e34bdd5e91a1832d /src/mongo/db/s/migration_chunk_cloner_source.h
parent846c7aa84ac08dbccc7d727e9068406b7b2de033 (diff)
downloadmongo-169f13aff2b62483e9678409759528a2f9db58e7.tar.gz
SERVER-45179 Add the FCV 4.4 behavior to the MigrationDestinationManager
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source.h')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source.h b/src/mongo/db/s/migration_chunk_cloner_source.h
index c871a3e08a8..f59efc0f16b 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source.h
@@ -37,6 +37,7 @@ class BSONObj;
class OperationContext;
class Status;
class Timestamp;
+class UUID;
namespace repl {
class OpTime;
@@ -71,7 +72,7 @@ public:
* NOTE: Must be called without any locks and must succeed, before any other methods are called
* (except for cancelClone and [insert/update/delete]Op).
*/
- virtual Status startClone(OperationContext* opCtx) = 0;
+ virtual Status startClone(OperationContext* opCtx, const UUID& migrationId) = 0;
/**
* Blocking method, which uses some custom selected logic for deciding whether it is appropriate