diff options
Diffstat (limited to 'src/mongo/db/db_raii.h')
-rw-r--r-- | src/mongo/db/db_raii.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/db_raii.h b/src/mongo/db/db_raii.h index 847813a8e02..8f27a8a962a 100644 --- a/src/mongo/db/db_raii.h +++ b/src/mongo/db/db_raii.h @@ -122,10 +122,9 @@ private: const NamespaceString& nss, repl::ReadConcernLevel readConcernLevel) const; - // Returns true if the minSnapshot causes conflicting catalog changes for the provided read - // concern level or lastAppliedTimestamp. + // Returns true if the minSnapshot causes conflicting catalog changes for either the provided + // lastAppliedTimestamp or the point-in-time snapshot of the RecoveryUnit on 'opCtx'. bool _conflictingCatalogChanges(OperationContext* opCtx, - repl::ReadConcernLevel readConcernLevel, boost::optional<Timestamp> minSnapshot, boost::optional<Timestamp> lastAppliedTimestamp) const; }; |