diff options
Diffstat (limited to 'src/mongo/db/keys_collection_client_sharded.cpp')
-rw-r--r-- | src/mongo/db/keys_collection_client_sharded.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mongo/db/keys_collection_client_sharded.cpp b/src/mongo/db/keys_collection_client_sharded.cpp index 08f56481b19..7db511bcaca 100644 --- a/src/mongo/db/keys_collection_client_sharded.cpp +++ b/src/mongo/db/keys_collection_client_sharded.cpp @@ -39,7 +39,7 @@ KeysCollectionClientSharded::KeysCollectionClientSharded(ShardingCatalogClient* : _catalogClient(client) {} -StatusWith<std::vector<KeysCollectionDocument>> KeysCollectionClientSharded::getNewKeys( +StatusWith<std::vector<KeysCollectionDocument>> KeysCollectionClientSharded::getNewInternalKeys( OperationContext* opCtx, StringData purpose, const LogicalTime& newerThanThis, @@ -49,6 +49,14 @@ StatusWith<std::vector<KeysCollectionDocument>> KeysCollectionClientSharded::get opCtx, purpose, newerThanThis, repl::ReadConcernLevel::kMajorityReadConcern); } +StatusWith<std::vector<ExternalKeysCollectionDocument>> +KeysCollectionClientSharded::getNewExternalKeys(OperationContext* opCtx, + StringData purpose, + const LogicalTime& newerThanThis, + bool useMajority) { + return std::vector<ExternalKeysCollectionDocument>{}; +} + Status KeysCollectionClientSharded::insertNewKey(OperationContext* opCtx, const BSONObj& doc) { return _catalogClient->insertConfigDocument(opCtx, NamespaceString::kKeysCollectionNamespace, |