Storage Engine API
record_store_v1_test_help.h File Reference

Go to the source code of this file.

Classes

class  mongo::DummyRecordStoreV1MetaData
 
class  mongo::DummyExtentManager
 
struct  mongo::DummyExtentManager::ExtentInfo
 
struct  mongo::LocAndSize
 

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Functions

void mongo::initializeV1RS (OperationContext *opCtx, const LocAndSize *records, const LocAndSize *drecs, const LocAndSize *legacyGrabBag, DummyExtentManager *em, DummyRecordStoreV1MetaData *md)
 Creates a V1 storage/mmap_v1 with the passed in records and DeletedRecords (drecs). More...
 
void mongo::assertStateV1RS (OperationContext *opCtx, const LocAndSize *records, const LocAndSize *drecs, const LocAndSize *legacyGrabBag, const ExtentManager *em, const DummyRecordStoreV1MetaData *md)
 Asserts that the V1RecordStore defined by md has the passed in records and drecs in the correct order. More...