diff options
Diffstat (limited to 'src/mongo/s/client/shard_remote.h')
-rw-r--r-- | src/mongo/s/client/shard_remote.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/mongo/s/client/shard_remote.h b/src/mongo/s/client/shard_remote.h index 908ebf33eee..48557d47925 100644 --- a/src/mongo/s/client/shard_remote.h +++ b/src/mongo/s/client/shard_remote.h @@ -70,10 +70,10 @@ public: bool isRetriableError(ErrorCodes::Error code, RetryPolicy options) final; - Status createIndexOnConfig(OperationContext* txn, - const NamespaceString& ns, - const BSONObj& keys, - bool unique) override; + Status createIndex(OperationContext* txn, + const NamespaceString& ns, + const BSONObj& keys, + bool unique) override; private: /** @@ -88,14 +88,13 @@ private: Milliseconds maxTimeMSOverride, const BSONObj& cmdObj) final; - StatusWith<QueryResponse> _exhaustiveFindOnConfig( - OperationContext* txn, - const ReadPreferenceSetting& readPref, - const repl::ReadConcernLevel& readConcernLevel, - const NamespaceString& nss, - const BSONObj& query, - const BSONObj& sort, - boost::optional<long long> limit) final; + StatusWith<QueryResponse> _exhaustiveFind(OperationContext* txn, + const ReadPreferenceSetting& readPref, + const repl::ReadConcernLevel& readConcernLevel, + const NamespaceString& nss, + const BSONObj& query, + const BSONObj& sort, + boost::optional<long long> limit) final; /** * Connection string for the shard at the creation time. |