summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2021-07-26 19:19:42 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-27 09:28:05 +0000
commite7e7fbc7dcd814c74ab2613a1ae3aa0adf7222b2 (patch)
tree2b586152b44651ac860f4f363c4dc3178ff6dc77 /src/mongo/s/catalog
parentd8f368f9a7c8fbccbff4b09b861b6e0951609bf6 (diff)
downloadmongo-e7e7fbc7dcd814c74ab2613a1ae3aa0adf7222b2.tar.gz
SERVER-58860 Remove unused failApplyChunkOps fail point
Diffstat (limited to 'src/mongo/s/catalog')
-rw-r--r--src/mongo/s/catalog/sharding_catalog_client_impl.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/s/catalog/sharding_catalog_client_impl.cpp b/src/mongo/s/catalog/sharding_catalog_client_impl.cpp
index 1a810b73f39..b84adc3319e 100644
--- a/src/mongo/s/catalog/sharding_catalog_client_impl.cpp
+++ b/src/mongo/s/catalog/sharding_catalog_client_impl.cpp
@@ -71,15 +71,12 @@
#include "mongo/s/write_ops/batched_command_request.h"
#include "mongo/s/write_ops/batched_command_response.h"
#include "mongo/util/assert_util.h"
-#include "mongo/util/fail_point.h"
#include "mongo/util/net/hostandport.h"
#include "mongo/util/str.h"
#include "mongo/util/time_support.h"
namespace mongo {
-MONGO_FAIL_POINT_DEFINE(failApplyChunkOps);
-
using repl::OpTime;
using std::set;
using std::shared_ptr;
@@ -1004,13 +1001,6 @@ Status ShardingCatalogClientImpl::applyChunkOpsDeprecated(OperationContext* opCt
? std::move(response.getValue().writeConcernStatus)
: std::move(response.getValue().commandStatus);
- // TODO (Dianna) This fail point needs to be reexamined when CommitChunkMigration is in:
- // migrations will no longer be able to exercise it, so split or merge will need to do so.
- // SERVER-22659.
- if (MONGO_unlikely(failApplyChunkOps.shouldFail())) {
- status = Status(ErrorCodes::InternalError, "Failpoint 'failApplyChunkOps' generated error");
- }
-
if (!status.isOK()) {
string errMsg;