![]() |
Storage Engine API
|
#include "mongo/base/status.h"
#include "mongo/base/status_with.h"
#include "mongo/db/catalog/collection_options.h"
Go to the source code of this file.
Namespaces | |
mongo | |
Copyright (C) 2014 MongoDB Inc. | |
Functions | |
void | mongo::addCollectionUUIDs (OperationContext *opCtx) |
Adds UUIDs to all replicated collections of all databases if they do not already have UUIDs. More... | |
Status | mongo::collMod (OperationContext *opCtx, const NamespaceString &ns, const BSONObj &cmdObj, BSONObjBuilder *result) |
Performs the collection modification described in "cmdObj" on the collection "ns". More... | |
Status | mongo::collModForUUIDUpgrade (OperationContext *opCtx, const NamespaceString &nss, const BSONObj &cmdObj, CollectionUUID uuid) |
Status | mongo::collModWithUpgrade (OperationContext *opCtx, const NamespaceString &nss, const BSONObj &cmdObj) |
Applies the collMod operation and optionally updates formatVersion of unique indexes belonging to collection "nss". More... | |
void | mongo::updateUniqueIndexesOnUpgrade (OperationContext *opCtx) |
Status | mongo::updateNonReplicatedUniqueIndexes (OperationContext *opCtx) |