summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/transaction_participant.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/transaction_participant.cpp b/src/mongo/db/transaction_participant.cpp
index b84088757a7..ba01744fff4 100644
--- a/src/mongo/db/transaction_participant.cpp
+++ b/src/mongo/db/transaction_participant.cpp
@@ -36,7 +36,6 @@
#include "mongo/db/concurrency/d_concurrency.h"
#include "mongo/db/concurrency/lock_state.h"
#include "mongo/db/concurrency/locker.h"
-#include "mongo/db/curop_failpoint_helpers.h"
#include "mongo/db/op_observer.h"
#include "mongo/db/repl/repl_client_info.h"
#include "mongo/db/server_parameters.h"
@@ -516,10 +515,7 @@ void TransactionParticipant::unstashTransactionResources(OperationContext* opCtx
// The Client lock must not be held when executing this failpoint as it will block currentOp
// execution.
- if (MONGO_FAIL_POINT(hangAfterPreallocateSnapshot)) {
- CurOpFailpointHelpers::waitWhileFailPointEnabled(
- &hangAfterPreallocateSnapshot, opCtx, "hangAfterPreallocateSnapshot");
- }
+ MONGO_FAIL_POINT_PAUSE_WHILE_SET(hangAfterPreallocateSnapshot);
}
Timestamp TransactionParticipant::prepareTransaction(OperationContext* opCtx) {