diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-09-22 16:03:46 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-23 16:49:17 +0000 |
commit | 669e5650151733738ce8270e5bdf3c5759665316 (patch) | |
tree | 40e8d2b26c236fd3effe64d5fd04b7a05162f1ec /src/mongo/db/catalog/catalog_control.h | |
parent | 0e044981649f6712b3cc3f39bdb41c6e06546815 (diff) | |
download | mongo-669e5650151733738ce8270e5bdf3c5759665316.tar.gz |
SERVER-47866 Secondary readers do not need to reacquire PBWM lock if there are catalog conflicts
Diffstat (limited to 'src/mongo/db/catalog/catalog_control.h')
-rw-r--r-- | src/mongo/db/catalog/catalog_control.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/catalog_control.h b/src/mongo/db/catalog/catalog_control.h index ab6ee87e8f4..527e1725c07 100644 --- a/src/mongo/db/catalog/catalog_control.h +++ b/src/mongo/db/catalog/catalog_control.h @@ -50,6 +50,8 @@ MinVisibleTimestampMap closeCatalog(OperationContext* opCtx); * * Must be called with the global lock acquired in exclusive mode. */ -void openCatalog(OperationContext* opCtx, const MinVisibleTimestampMap& catalogState); +void openCatalog(OperationContext* opCtx, + const MinVisibleTimestampMap& catalogState, + Timestamp stableTimestamp); } // namespace catalog } // namespace mongo |