diff options
author | Gabe Villasana <gabe.villasana@mongodb.com> | 2019-05-30 13:48:26 -0400 |
---|---|---|
committer | Gabe Villasana <gabe.villasana@mondodb.com> | 2019-05-31 11:26:46 -0400 |
commit | 64848ce3a7d0f1af4d384473664bc80aa47fcb55 (patch) | |
tree | 6a91fd7af17fe8feda3536214aeea53650460050 /src/mongo/db/catalog_raii.cpp | |
parent | 36389e9fbb1bf1cc0aaba16e6b46adc171a34f46 (diff) | |
download | mongo-64848ce3a7d0f1af4d384473664bc80aa47fcb55.tar.gz |
SERVER-38105 Removed unused uassertLockTimeout method
Diffstat (limited to 'src/mongo/db/catalog_raii.cpp')
-rw-r--r-- | src/mongo/db/catalog_raii.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/catalog_raii.cpp b/src/mongo/db/catalog_raii.cpp index 1293f752769..d3e4c1f5e60 100644 --- a/src/mongo/db/catalog_raii.cpp +++ b/src/mongo/db/catalog_raii.cpp @@ -42,14 +42,6 @@ namespace { MONGO_FAIL_POINT_DEFINE(setAutoGetCollectionWait); -void uassertLockTimeout(std::string resourceName, LockMode lockMode, bool isLocked) { - uassert(ErrorCodes::LockTimeout, - str::stream() << "Failed to acquire " << modeName(lockMode) << " lock for " - << resourceName - << " due to lock timeout.", - isLocked); -} - } // namespace AutoGetDb::AutoGetDb(OperationContext* opCtx, StringData dbName, LockMode mode, Date_t deadline) |