summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl.cpp
diff options
context:
space:
mode:
authornehakhatri5 <neha.khatri@mongodb.com>2018-04-27 12:59:07 +1000
committernehakhatri5 <neha.khatri@mongodb.com>2018-05-18 10:41:22 +1000
commit73c68499002379882c3a5c4af2c50e04a42f73a0 (patch)
treeb92a9f1eeffc31c9675eca34cedf685c11e01e12 /src/mongo/db/repl/storage_interface_impl.cpp
parentb188d762b8920f791906c80570f770dd9fc09731 (diff)
downloadmongo-73c68499002379882c3a5c4af2c50e04a42f73a0.tar.gz
SERVER-32825 Add upgrade/downgrade infrastructure for timestamp safe unique index.
This change is currently guarded by a gating variable.
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.cpp')
-rw-r--r--src/mongo/db/repl/storage_interface_impl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp
index fad6858f2e3..c7dc39c8b68 100644
--- a/src/mongo/db/repl/storage_interface_impl.cpp
+++ b/src/mongo/db/repl/storage_interface_impl.cpp
@@ -1042,6 +1042,10 @@ StatusWith<OptionalCollectionUUID> StorageInterfaceImpl::getCollectionUUID(
return collection->uuid();
}
+Status StorageInterfaceImpl::upgradeNonReplicatedUniqueIndexes(OperationContext* opCtx) {
+ return updateNonReplicatedUniqueIndexes(opCtx);
+}
+
void StorageInterfaceImpl::setStableTimestamp(ServiceContext* serviceCtx, Timestamp snapshotName) {
serviceCtx->getStorageEngine()->setStableTimestamp(snapshotName);
}