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 13:29:08 +0000
commit1aa5a7eaab26e19fe8edb7c59b0c9ee6d61b2b04 (patch)
tree32744b88b76b86968726ab79af7e8fcba93a9a96
parentb3e25a1f353cdd7e47e3efe0119ef3a0770c093e (diff)
downloadmongo-1aa5a7eaab26e19fe8edb7c59b0c9ee6d61b2b04.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 bdf67e27f83..56609a5354c 100644
--- a/src/mongo/db/s/migration_destination_manager.cpp
+++ b/src/mongo/db/s/migration_destination_manager.cpp
@@ -577,7 +577,7 @@ void MigrationDestinationManager::_migrateDriver(OperationContext* opCtx,
<< 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();