summaryrefslogtreecommitdiff
path: root/src/mongo/db/range_deleter.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-05-15 13:26:48 -0400
committerHari Khalsa <hkhalsa@10gen.com>2014-05-15 13:56:05 -0400
commit4de88387eec6c0bb08b10d0ba1574a656f56232d (patch)
tree7fdc9a0acd251b5b8b0a8f3de45ce1c2ecf7e94c /src/mongo/db/range_deleter.h
parent71cbb04eb8262b0bdf255056f26101466c11b43d (diff)
downloadmongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/range_deleter.h')
-rw-r--r--src/mongo/db/range_deleter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/range_deleter.h b/src/mongo/db/range_deleter.h
index 653fb0105b0..9c47659bf0d 100644
--- a/src/mongo/db/range_deleter.h
+++ b/src/mongo/db/range_deleter.h
@@ -37,7 +37,7 @@
#include "mongo/base/string_data.h"
#include "mongo/db/clientcursor.h"
#include "mongo/db/jsobj.h"
-#include "mongo/db/storage/transaction.h"
+#include "mongo/db/operation_context.h"
#include "mongo/util/concurrency/mutex.h"
#include "mongo/util/concurrency/synchronization.h"
@@ -45,7 +45,7 @@ namespace mongo {
struct RangeDeleterEnv;
class RangeDeleterStats;
- class TransactionExperiment;
+ class OperationContext;
/**
* Class for deleting documents for a given namespace and range. It contains a queue of
@@ -131,7 +131,7 @@ namespace mongo {
* Returns true if the task is queued and false If the given range is blacklisted,
* is already queued, or stopWorkers() was called.
*/
- bool queueDelete(TransactionExperiment::Factory transactionFactory,
+ bool queueDelete(OperationContext::Factory transactionFactory,
const std::string& ns,
const BSONObj& min,
const BSONObj& max,
@@ -147,7 +147,7 @@ namespace mongo {
* Returns true if the deletion was performed. False if the range is blacklisted,
* was already queued, or stopWorkers() was called.
*/
- bool deleteNow(TransactionExperiment* txn,
+ bool deleteNow(OperationContext* txn,
const std::string& ns,
const BSONObj& min,
const BSONObj& max,
@@ -288,7 +288,7 @@ namespace mongo {
* Must be a synchronous call. Docs should be deleted after call ends.
* Must not throw Exceptions.
*/
- virtual bool deleteRange(TransactionExperiment* txn,
+ virtual bool deleteRange(OperationContext* txn,
const StringData& ns,
const BSONObj& inclusiveLower,
const BSONObj& exclusiveUpper,