summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Ahmad <josef.ahmad@mongodb.com>2020-02-18 10:14:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-06 08:40:45 +0000
commite562d69a882df3c06e37d1db47eb303140f87db3 (patch)
treea7381c51c7f277223914e0d6502c20801bc0c6ab
parentc5d12bb93f4f7939d40af52cbc680dd14f96e678 (diff)
downloadmongo-e562d69a882df3c06e37d1db47eb303140f87db3.tar.gz
SERVER-45770 add to/from information to moveChunk.to log message
(cherry picked from commit 742ac9b37b1d8f489e1b259a0a3575f8811edac4) Conflicts: src/mongo/db/s/migration_destination_manager.cpp
-rw-r--r--src/mongo/db/s/migration_destination_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.cpp b/src/mongo/db/s/migration_destination_manager.cpp
index c9f3a657f04..fe7ec302a99 100644
--- a/src/mongo/db/s/migration_destination_manager.cpp
+++ b/src/mongo/db/s/migration_destination_manager.cpp
@@ -732,7 +732,7 @@ void MigrationDestinationManager::_migrateDriver(OperationContext* opCtx) {
<< " at epoch " << _epoch.toString() << " with session id " << *_sessionId;
MoveTimingHelper timing(
- opCtx, "to", _nss.ns(), _min, _max, 6 /* steps */, &_errmsg, ShardId(), ShardId());
+ opCtx, "to", _nss.ns(), _min, _max, 6 /* steps */, &_errmsg, _toShard, _fromShard);
const auto initialState = getState();