diff options
author | Judah Schvimer <judah@mongodb.com> | 2018-04-24 16:37:18 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2018-05-03 12:01:09 -0400 |
commit | dd45579fef2bf4e212161d1e3d97666a80b08bbf (patch) | |
tree | b12df773845f5994240d8c50b0e171f277beb12a /src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp | |
parent | b1a7cffd3f151efe4d47864c89cf5c7cf9e884cc (diff) | |
download | mongo-dd45579fef2bf4e212161d1e3d97666a80b08bbf.tar.gz |
SERVER-34580 Plumb commit time to commit handlers when available
Diffstat (limited to 'src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp')
-rw-r--r-- | src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp b/src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp index 1171ba8467a..1163f89cf3c 100644 --- a/src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp +++ b/src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp @@ -55,7 +55,7 @@ public: AddIndexChange(OperationContext* opCtx, KVCollectionCatalogEntry* cce, StringData ident) : _opCtx(opCtx), _cce(cce), _ident(ident.toString()) {} - virtual void commit() {} + virtual void commit(boost::optional<Timestamp>) {} virtual void rollback() { // Intentionally ignoring failure. _cce->_engine->dropIdent(_opCtx, _ident).transitional_ignore(); @@ -72,7 +72,7 @@ public: : _opCtx(opCtx), _cce(cce), _ident(ident.toString()) {} virtual void rollback() {} - virtual void commit() { + virtual void commit(boost::optional<Timestamp>) { // Intentionally ignoring failure here. Since we've removed the metadata pointing to the // index, we should never see it again anyway. _cce->_engine->dropIdent(_opCtx, _ident).transitional_ignore(); |