Storage Engine API
wiredtiger_prepare_conflict.h File Reference
#include "mongo/db/curop.h"
#include "mongo/db/operation_context.h"
#include "mongo/db/storage/wiredtiger/wiredtiger_record_store.h"
#include "mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.h"
#include "mongo/util/fail_point_service.h"

Go to the source code of this file.

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Functions

 mongo::MONGO_FAIL_POINT_DECLARE (WTPrepareConflictForReads)
 
void mongo::wiredTigerPrepareConflictLog (int attempt)
 Logs a message with the number of prepare conflict retry attempts. More...
 
template<typename F >
int mongo::wiredTigerPrepareConflictRetry (OperationContext *opCtx, F &&f)
 Runs the argument function f as many times as needed for f to return an error other than WT_PREPARE_CONFLICT. More...