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 10:23:38 +0000
commit25d38642ed3beb47fd731e405f197ca6de820d6e (patch)
tree76acc3fce7d9c2f659fa6e16eaa869a895402630
parent4d3c2f2c5e6e988c8f19d1231e8d8551170260de (diff)
downloadmongo-25d38642ed3beb47fd731e405f197ca6de820d6e.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 49a350d096b..cf0a076e3f4 100644
--- a/src/mongo/db/s/migration_destination_manager.cpp
+++ b/src/mongo/db/s/migration_destination_manager.cpp
@@ -747,7 +747,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();