diff options
author | Alex Taskov <alex.taskov@mongodb.com> | 2020-07-15 12:27:19 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-15 12:40:51 +0000 |
commit | 29f80326b16136e36d4f9eb1054d801409abff18 (patch) | |
tree | e6beb304261e006c25ef1cd3361763efaecc4a31 /src/mongo/db/s | |
parent | 113a4c0b7835cb5b69af75f042406ae82820a5ce (diff) | |
download | mongo-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.cpp | 2 |
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; } |