From 25d38642ed3beb47fd731e405f197ca6de820d6e Mon Sep 17 00:00:00 2001 From: Josef Ahmad Date: Tue, 18 Feb 2020 10:14:03 +0000 Subject: 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 --- src/mongo/db/s/migration_destination_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3