summaryrefslogtreecommitdiff
path: root/db/oplog.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2011-07-31 08:51:14 -0700
committerAaron <aaron@10gen.com>2011-07-31 08:59:00 -0700
commit175e0392475935552f83b1719936750e362f45cc (patch)
treeb8e5acd8d96047d1bcd93980d51109bae93e3ec5 /db/oplog.h
parent1e226c16b714e4c7e5f498d18e5d2303de61dd12 (diff)
downloadmongo-175e0392475935552f83b1719936750e362f45cc.tar.gz
SERVER-3482 check oldest op first when doing oplog replay, wassert instead of massert on encountering empty extent
Diffstat (limited to 'db/oplog.h')
-rw-r--r--db/oplog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/oplog.h b/db/oplog.h
index f87a1c85e04..223e8fbe9bb 100644
--- a/db/oplog.h
+++ b/db/oplog.h
@@ -118,6 +118,7 @@ namespace mongo {
_findingStartCursor.reset( 0 );
}
void init();
+ bool firstDocMatches() const;
};
void pretouchOperation(const BSONObj& op);