summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/oplogstart.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-04-11 14:59:12 -0400
committerEliot Horowitz <eliot@10gen.com>2014-04-14 00:23:08 -0400
commit78acc64523fbc05cd9a8c2f8980bbe51a0d957e7 (patch)
treef4662301863279c55717c2cdc13548ac9074f7c6 /src/mongo/db/exec/oplogstart.cpp
parent12a2947ebd5ebbf5282e2d5e2c673eeae840f578 (diff)
downloadmongo-78acc64523fbc05cd9a8c2f8980bbe51a0d957e7.tar.gz
SERVER-13084: move compact details down into RecordStore layer
Diffstat (limited to 'src/mongo/db/exec/oplogstart.cpp')
-rw-r--r--src/mongo/db/exec/oplogstart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/oplogstart.cpp b/src/mongo/db/exec/oplogstart.cpp
index 7554548dac8..f6754d42670 100644
--- a/src/mongo/db/exec/oplogstart.cpp
+++ b/src/mongo/db/exec/oplogstart.cpp
@@ -114,7 +114,7 @@ namespace mongo {
// Set up our extent hopping state. Get the start of the extent that we were collection
// scanning.
- Extent* e = _curloc.rec()->myExtent(_curloc).ext();
+ Extent* e = _curloc.rec()->myExtentLoc(_curloc).ext();
if (!_nsd->capLooped() || (e->myLoc != _nsd->capExtent())) {
_curloc = e->firstRecord;
}
@@ -187,7 +187,7 @@ namespace mongo {
// static
DiskLoc OplogStart::prevExtentFirstLoc(const NamespaceDetails* nsd, const DiskLoc& rec ) {
- Extent *e = rec.rec()->myExtent( rec ).ext();
+ Extent *e = rec.rec()->myExtentLoc( rec ).ext();
if (nsd->capLooped() ) {
while( true ) {
// Advance e to preceding extent (looping to lastExtent if necessary).