summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
diff options
context:
space:
mode:
authorAlex Taskov <alex.taskov@mongodb.com>2020-02-19 18:45:49 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-20 14:19:15 +0000
commit742fa16dc379a281ad3c10e8c196d5ab2de9f70e (patch)
tree9e4c4700e921ca2cab58e9909ec764667f6e6ce9 /src/mongo/db/s/migration_chunk_cloner_source_legacy.h
parent32f47846d78a4fdae9564b7ebb442d53e737d845 (diff)
downloadmongo-742fa16dc379a281ad3c10e8c196d5ab2de9f70e.tar.gz
SERVER-45744 Migration coordinator recovery task should bump the txnNumber on the session used to send _recvChunkStart
create mode 100644 jstests/sharding/bump_transaction_prevents_extra_deletion_task_write.js
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy.h')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
index d5f56e196ed..8e34e2033f3 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
@@ -119,16 +119,12 @@ public:
const repl::OpTime& opTime,
const repl::OpTime& preImageOpTime) override;
- // Legacy cloner specific functionality
-
- /**
- * Returns the migration session id associated with this cloner, so stale sessions can be
- * disambiguated.
- */
- const MigrationSessionId& getSessionId() const {
+ const MigrationSessionId& getSessionId() const override {
return _sessionId;
}
+ // Legacy cloner specific functionality
+
/**
* Returns the rollback ID recorded at the beginning of session migration. If the underlying
* SessionCatalogMigrationSource does not exist, that means this node is running as a standalone