summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h
index daa8998af2a..f42ade90db8 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_stones.h
@@ -51,7 +51,7 @@ public:
RecordId lastRecord; // RecordId of the last record in a chunk of the oplog.
};
- OplogStones(OperationContext* txn, WiredTigerRecordStore* rs);
+ OplogStones(OperationContext* opCtx, WiredTigerRecordStore* rs);
bool isDead();
@@ -69,12 +69,12 @@ public:
void createNewStoneIfNeeded(RecordId lastRecord);
- void updateCurrentStoneAfterInsertOnCommit(OperationContext* txn,
+ void updateCurrentStoneAfterInsertOnCommit(OperationContext* opCtx,
int64_t bytesInserted,
RecordId highestInserted,
int64_t countInserted);
- void clearStonesOnCommit(OperationContext* txn);
+ void clearStonesOnCommit(OperationContext* opCtx);
// Updates the metadata about the oplog stones after a rollback occurs.
void updateStonesAfterCappedTruncateAfter(int64_t recordsRemoved,
@@ -110,9 +110,9 @@ private:
class InsertChange;
class TruncateChange;
- void _calculateStones(OperationContext* txn);
- void _calculateStonesByScanning(OperationContext* txn);
- void _calculateStonesBySampling(OperationContext* txn,
+ void _calculateStones(OperationContext* opCtx);
+ void _calculateStonesByScanning(OperationContext* opCtx);
+ void _calculateStonesBySampling(OperationContext* opCtx,
int64_t estRecordsPerStone,
int64_t estBytesPerStone);