disk creation order 1) system.indexes entry 2) collection's NamespaceDetails a) info + head b) _indexBuildsInProgress++ 3) indexes entry in .ns file 4) system.namespaces entry for index ns
More...
#include <index_catalog_impl.h>
disk creation order 1) system.indexes entry 2) collection's NamespaceDetails a) info + head b) _indexBuildsInProgress++ 3) indexes entry in .ns file 4) system.namespaces entry for index ns
◆ IndexBuildBlock()
mongo::IndexCatalogImpl::IndexBuildBlock::IndexBuildBlock |
( |
OperationContext * |
opCtx, |
|
|
Collection * |
collection, |
|
|
const BSONObj & |
spec |
|
) |
| |
◆ ~IndexBuildBlock()
mongo::IndexCatalogImpl::IndexBuildBlock::~IndexBuildBlock |
( |
| ) |
|
◆ fail()
void mongo::IndexCatalogImpl::IndexBuildBlock::fail |
( |
| ) |
|
index build failed, clean up meta data
Must be called from within a WriteUnitOfWork
◆ getEntry()
◆ getIndexName()
const std::string& mongo::IndexCatalogImpl::IndexBuildBlock::getIndexName |
( |
| ) |
const |
|
inline |
◆ getSpec()
const BSONObj& mongo::IndexCatalogImpl::IndexBuildBlock::getSpec |
( |
| ) |
const |
|
inline |
◆ init()
Status mongo::IndexCatalogImpl::IndexBuildBlock::init |
( |
| ) |
|
◆ MONGO_DISALLOW_COPYING()
mongo::IndexCatalogImpl::IndexBuildBlock::MONGO_DISALLOW_COPYING |
( |
IndexBuildBlock |
| ) |
|
|
private |
◆ success()
void mongo::IndexCatalogImpl::IndexBuildBlock::success |
( |
| ) |
|
◆ _catalog
IndexCatalog* const mongo::IndexCatalogImpl::IndexBuildBlock::_catalog |
|
private |
◆ _collection
Collection* const mongo::IndexCatalogImpl::IndexBuildBlock::_collection |
|
private |
◆ _entry
◆ _indexName
std::string mongo::IndexCatalogImpl::IndexBuildBlock::_indexName |
|
private |
◆ _indexNamespace
std::string mongo::IndexCatalogImpl::IndexBuildBlock::_indexNamespace |
|
private |
◆ _inProgress
bool mongo::IndexCatalogImpl::IndexBuildBlock::_inProgress |
|
private |
◆ _ns
const std::string mongo::IndexCatalogImpl::IndexBuildBlock::_ns |
|
private |
◆ _opCtx
OperationContext* mongo::IndexCatalogImpl::IndexBuildBlock::_opCtx |
|
private |
◆ _spec
BSONObj mongo::IndexCatalogImpl::IndexBuildBlock::_spec |
|
private |
The documentation for this class was generated from the following files: