summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnrico Golfieri <enrico.golfieri@mongodb.com>2022-07-05 08:22:23 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-05 08:50:49 +0000
commita363278ae80ab6849ca1eb5b73c9b8555b8e64b8 (patch)
tree753c5519669798f85d03720bbadb9e6141a16b93 /src
parent562210e054fc02a078976a072905327b13b4726b (diff)
downloadmongo-a363278ae80ab6849ca1eb5b73c9b8555b8e64b8.tar.gz
SERVER-60415 No longer accept FailPointSetFailed errors on jstests that use migrationRecipientFailPostCommitRefresh failpoint
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/s/migration_source_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_source_manager.cpp b/src/mongo/db/s/migration_source_manager.cpp
index a0fc3e650ee..5b1ba7cbb36 100644
--- a/src/mongo/db/s/migration_source_manager.cpp
+++ b/src/mongo/db/s/migration_source_manager.cpp
@@ -134,7 +134,6 @@ MONGO_FAIL_POINT_DEFINE(moveChunkHangAtStep4);
MONGO_FAIL_POINT_DEFINE(moveChunkHangAtStep5);
MONGO_FAIL_POINT_DEFINE(moveChunkHangAtStep6);
-MONGO_FAIL_POINT_DEFINE(doNotRefreshRecipientAfterCommit);
MONGO_FAIL_POINT_DEFINE(failMigrationCommit);
MONGO_FAIL_POINT_DEFINE(hangBeforeLeavingCriticalSection);
MONGO_FAIL_POINT_DEFINE(migrationCommitNetworkError);
@@ -699,7 +698,7 @@ void MigrationSourceManager::commitChunkMetadataOnConfig() {
const ChunkRange range(*_args.getMin(), *_args.getMax());
- if (!_acquireCSOnRecipient && !MONGO_unlikely(doNotRefreshRecipientAfterCommit.shouldFail())) {
+ if (!_acquireCSOnRecipient) {
// Best-effort make the recipient refresh its routing table to the new collection
// version.
refreshRecipientRoutingTable(