summaryrefslogtreecommitdiff
path: root/src/mongo/db/s
diff options
context:
space:
mode:
authorAlex Taskov <alex.taskov@mongodb.com>2020-07-15 12:27:19 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-15 12:40:51 +0000
commit29f80326b16136e36d4f9eb1054d801409abff18 (patch)
treee6beb304261e006c25ef1cd3361763efaecc4a31 /src/mongo/db/s
parent113a4c0b7835cb5b69af75f042406ae82820a5ce (diff)
downloadmongo-29f80326b16136e36d4f9eb1054d801409abff18.tar.gz
SERVER-48556 Return full error string including code name from migration thread when range deletion fails
Diffstat (limited to 'src/mongo/db/s')
-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 661d245b037..e18a250adf5 100644
--- a/src/mongo/db/s/migration_destination_manager.cpp
+++ b/src/mongo/db/s/migration_destination_manager.cpp
@@ -860,7 +860,7 @@ void MigrationDestinationManager::_migrateDriver(OperationContext* outerOpCtx) {
outerOpCtx, _nss, donorCollectionOptionsAndIndexes.uuid, range);
if (!status.isOK()) {
- _setStateFail(redact(status.reason()));
+ _setStateFail(redact(status.toString()));
return;
}