summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_cache.cpp
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2019-06-20 14:20:31 -0400
committerMisha Tyulenev <misha@mongodb.com>2019-06-20 14:20:55 -0400
commit1d158cabb504fa9dba3ed0f0688cdf14cb7b0cba (patch)
treeea16bd71c9747040309a964246b743b9fa9b9bdf /src/mongo/db/keys_collection_cache.cpp
parent35424844fd9e10b042c435c83a8f1e23e42fb9e4 (diff)
downloadmongo-1d158cabb504fa9dba3ed0f0688cdf14cb7b0cba.tar.gz
SERVER-40535 read signing keys with readConcern level majority
Diffstat (limited to 'src/mongo/db/keys_collection_cache.cpp')
-rw-r--r--src/mongo/db/keys_collection_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/keys_collection_cache.cpp b/src/mongo/db/keys_collection_cache.cpp
index f4cff0dc905..20e3273af35 100644
--- a/src/mongo/db/keys_collection_cache.cpp
+++ b/src/mongo/db/keys_collection_cache.cpp
@@ -65,7 +65,7 @@ StatusWith<KeysCollectionDocument> KeysCollectionCache::refresh(OperationContext
"Cannot refresh keys collection cache during initial sync"};
}
- auto refreshStatus = _client->getNewKeys(opCtx, _purpose, newerThanThis);
+ auto refreshStatus = _client->getNewKeys(opCtx, _purpose, newerThanThis, true);
if (!refreshStatus.isOK()) {
return refreshStatus.getStatus();