Storage Engine API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mongo::IndexInfo Struct Reference

The IndexConsistency class is used to keep track of the index consistency. More...

#include <index_consistency.h>

Detailed Description

The IndexConsistency class is used to keep track of the index consistency.

It does this by using the index keys from index entries and index keys generated from the document to ensure there is a one-to-one mapping for each key. In addition, an IndexObserver class can be hooked into the IndexAccessMethod to inform this class about changes to the indexes during a validation and compensate for them. Contains all the index information and stats throughout the validation.

Public Attributes

bool isReady
 
uint32_t indexNsHash
 
bool indexScanFinished
 
int64_t numKeys
 
int64_t numLongKeys
 
int64_t numRecords
 
int64_t numExtraIndexKeys
 

Member Data Documentation

◆ indexNsHash

uint32_t mongo::IndexInfo::indexNsHash

◆ indexScanFinished

bool mongo::IndexInfo::indexScanFinished

◆ isReady

bool mongo::IndexInfo::isReady

◆ numExtraIndexKeys

int64_t mongo::IndexInfo::numExtraIndexKeys

◆ numKeys

int64_t mongo::IndexInfo::numKeys

◆ numLongKeys

int64_t mongo::IndexInfo::numLongKeys

◆ numRecords

int64_t mongo::IndexInfo::numRecords

The documentation for this struct was generated from the following file: