diff options
Diffstat (limited to 'src/mongo/db/logical_time_validator.cpp')
-rw-r--r-- | src/mongo/db/logical_time_validator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/logical_time_validator.cpp b/src/mongo/db/logical_time_validator.cpp index b848b49cc5e..852585aff18 100644 --- a/src/mongo/db/logical_time_validator.cpp +++ b/src/mongo/db/logical_time_validator.cpp @@ -220,9 +220,9 @@ bool LogicalTimeValidator::shouldGossipLogicalTime() { return _getKeyManagerCopy()->hasSeenKeys(); } -void LogicalTimeValidator::refreshKeyManagerCache(OperationContext* opCtx) { +void LogicalTimeValidator::cacheExternalKey(ExternalKeysCollectionDocument key) { invariant(_keyManager); - _keyManager->refreshNow(opCtx); + _keyManager->cacheExternalKey(std::move(key)); } void LogicalTimeValidator::resetKeyManagerCache() { |