diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2023-01-09 14:59:35 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-01-09 15:38:39 +0000 |
commit | b36a39531c1506de6d989b8844ce2620081c2312 (patch) | |
tree | 981cb09b220af88acd36f11e7f5dc5ae27bf63a6 /LICENSE-Community.txt | |
parent | b34b6b1752133308239174e52ff0367f0c358c8e (diff) | |
download | mongo-b36a39531c1506de6d989b8844ce2620081c2312.tar.gz |
SERVER-71957 Integrate point-in-time catalog lookups into locked read setup path
A new version of AutoGetCollectionForRead was added when the PIT catalog lookup feature flag is enabled but we are not in the lock-free read code path.
The new AutoGetCollectionForReadPITCatalog does not need to retry acquiring locks when a DDL operation happens between opening the storage snapshot and taking the collection level locks. Instead, when this case is detected we instantiate a Collection instance that matches with the opened storage snapshot.
Moved some shared code to the 'catalog_helper' namespace.
Diffstat (limited to 'LICENSE-Community.txt')
0 files changed, 0 insertions, 0 deletions