diff options
Diffstat (limited to 'src/mongo/db/keys_collection_client_sharded.cpp')
| -rw-r--r-- | src/mongo/db/keys_collection_client_sharded.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/keys_collection_client_sharded.cpp b/src/mongo/db/keys_collection_client_sharded.cpp index 8f745cd0f87..1ac1d9581ec 100644 --- a/src/mongo/db/keys_collection_client_sharded.cpp +++ b/src/mongo/db/keys_collection_client_sharded.cpp @@ -38,20 +38,19 @@ namespace mongo { KeysCollectionClientSharded::KeysCollectionClientSharded(ShardingCatalogClient* client) : _catalogClient(client) {} - StatusWith<std::vector<KeysCollectionDocument>> KeysCollectionClientSharded::getNewInternalKeys( OperationContext* opCtx, StringData purpose, const LogicalTime& newerThanThis, bool useMajority) { - - return _catalogClient->getNewKeys( + return _catalogClient->getNewInternalKeys( opCtx, purpose, newerThanThis, repl::ReadConcernLevel::kMajorityReadConcern); } StatusWith<std::vector<ExternalKeysCollectionDocument>> KeysCollectionClientSharded::getAllExternalKeys(OperationContext* opCtx, StringData purpose) { - return std::vector<ExternalKeysCollectionDocument>{}; + return _catalogClient->getAllExternalKeys( + opCtx, purpose, repl::ReadConcernLevel::kMajorityReadConcern); } Status KeysCollectionClientSharded::insertNewKey(OperationContext* opCtx, const BSONObj& doc) { |
