diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2020-10-13 17:52:55 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-14 18:23:38 +0000 |
commit | 5a9dd0cbec1f4293e966321885cccb549c77e59c (patch) | |
tree | 5277c50be4f1035a813907ebb98598fabf6e6fdc /src/mongo/db/catalog_raii.cpp | |
parent | 2667abf5f988c9cf9b548e23db961680a24c7a1b (diff) | |
download | mongo-5a9dd0cbec1f4293e966321885cccb549c77e59c.tar.gz |
SERVER-50677 Make a lock-free read version of AutoGetCollectionForRead and open a storage snapshot corresponding to the acquired Collection instance
Diffstat (limited to 'src/mongo/db/catalog_raii.cpp')
-rw-r--r-- | src/mongo/db/catalog_raii.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/catalog_raii.cpp b/src/mongo/db/catalog_raii.cpp index f3b9e5aa039..e8bb4e48e74 100644 --- a/src/mongo/db/catalog_raii.cpp +++ b/src/mongo/db/catalog_raii.cpp @@ -95,8 +95,7 @@ AutoGetCollection::AutoGetCollection(OperationContext* opCtx, Database* const db = _autoDb.getDb(); invariant(!nsOrUUID.uuid() || db, str::stream() << "Database for " << _resolvedNss.ns() - << " disappeared after successufully resolving " - << nsOrUUID.toString()); + << " disappeared after successfully resolving " << nsOrUUID.toString()); // In most cases we expect modifications for system.views to upgrade MODE_IX to MODE_X before // taking the lock. One exception is a query by UUID of system.views in a transaction. Usual |