diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-08 16:02:00 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-09 15:45:27 -0400 |
commit | d0323edc5a8fc62784d4d3df850f88037ad45c9f (patch) | |
tree | 6b283f8caea38f8b4a79ae1c3466ccf7e57a93ef /src/mongo/db/logical_time_validator.cpp | |
parent | b871fce9d308271f95159900c0e41d435f31e5ab (diff) | |
download | mongo-d0323edc5a8fc62784d4d3df850f88037ad45c9f.tar.gz |
SERVER-29637 make shards obtain UUID for sharded collections from config server on setFeatureCompatibilityVersion: 3.6
Diffstat (limited to 'src/mongo/db/logical_time_validator.cpp')
-rw-r--r-- | src/mongo/db/logical_time_validator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/logical_time_validator.cpp b/src/mongo/db/logical_time_validator.cpp index 98e4f740ff6..9bbb9021ac7 100644 --- a/src/mongo/db/logical_time_validator.cpp +++ b/src/mongo/db/logical_time_validator.cpp @@ -186,4 +186,8 @@ bool LogicalTimeValidator::shouldGossipLogicalTime() { return _keyManager->hasSeenKeys(); } +void LogicalTimeValidator::forceKeyRefreshNow(OperationContext* opCtx) { + _keyManager->refreshNow(opCtx); +} + } // namespace mongo |