![]() |
Storage Engine API
|
Functions | |
| void | closeCatalog (OperationContext *opCtx) |
| Closes the catalog, destroying all associated in-memory data structures for all databases. More... | |
| void | openCatalog (OperationContext *opCtx) |
| Restores the catalog and all in-memory state after a call to closeCatalog(). More... | |
| void mongo::catalog::closeCatalog | ( | OperationContext * | opCtx | ) |
Closes the catalog, destroying all associated in-memory data structures for all databases.
After a call to this function, it is illegal to access the catalog before calling openCatalog().
Must be called with the global lock acquired in exclusive mode.
| void mongo::catalog::openCatalog | ( | OperationContext * | opCtx | ) |
Restores the catalog and all in-memory state after a call to closeCatalog().
Must be called with the global lock acquired in exclusive mode.