summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source.h
diff options
context:
space:
mode:
authorAlex Taskov <alex.taskov@mongodb.com>2020-02-21 16:26:45 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-21 23:09:49 +0000
commit616564d1a5ea7217aa8b1e7f4c6d28800f0b65c9 (patch)
treeac5703336b02d40e83f7b14c954b41f6d3ceb1b1 /src/mongo/db/s/migration_chunk_cloner_source.h
parentd6c1d5f25f895cace27e2b165a1bee9e1865a2fd (diff)
downloadmongo-616564d1a5ea7217aa8b1e7f4c6d28800f0b65c9.tar.gz
SERVER-45952 moveChunk command should re-use lsid and use txnNumber that increments by two for each migration
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, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source.h b/src/mongo/db/s/migration_chunk_cloner_source.h
index 00e17e8fe3a..8d8fd7fa403 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source.h
@@ -79,6 +79,9 @@ public:
const LogicalSessionId& lsid,
TxnNumber txnNumber) = 0;
+ // TODO (SERVER-44787): Remove this function after 4.4 is released.
+ virtual Status startClone(OperationContext* opCtx) = 0;
+
/**
* Blocking method, which uses some custom selected logic for deciding whether it is appropriate
* for the donor shard to enter critical section.