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_catalog.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_catalog.cpp')
-rw-r--r-- | src/mongo/db/storage/kv/kv_catalog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/kv/kv_catalog.cpp b/src/mongo/db/storage/kv/kv_catalog.cpp index 86ff663d7c1..85ed6c7f26b 100644 --- a/src/mongo/db/storage/kv/kv_catalog.cpp +++ b/src/mongo/db/storage/kv/kv_catalog.cpp @@ -139,7 +139,7 @@ public: AddIdentChange(KVCatalog* catalog, StringData ident) : _catalog(catalog), _ident(ident.toString()) {} - virtual void commit() {} + virtual void commit(boost::optional<Timestamp>) {} virtual void rollback() { stdx::lock_guard<stdx::mutex> lk(_catalog->_identsLock); _catalog->_idents.erase(_ident); @@ -154,7 +154,7 @@ public: RemoveIdentChange(KVCatalog* catalog, StringData ident, const Entry& entry) : _catalog(catalog), _ident(ident.toString()), _entry(entry) {} - virtual void commit() {} + virtual void commit(boost::optional<Timestamp>) {} virtual void rollback() { stdx::lock_guard<stdx::mutex> lk(_catalog->_identsLock); _catalog->_idents[_ident] = _entry; |