diff options
Diffstat (limited to 'src/mongo/s/query/cluster_find.h')
-rw-r--r-- | src/mongo/s/query/cluster_find.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/s/query/cluster_find.h b/src/mongo/s/query/cluster_find.h index 492c0dc81e2..94ad5bfb14a 100644 --- a/src/mongo/s/query/cluster_find.h +++ b/src/mongo/s/query/cluster_find.h @@ -73,17 +73,6 @@ public: */ static StatusWith<CursorResponse> runGetMore(OperationContext* opCtx, const GetMoreRequest& request); - - /** - * Extracts the read preference from 'cmdObj. - * - * Expects a read preference that has already been "unwrapped" by the mongos command handling - * code, e.g. { ... , $queryOptions: { $readPreference: { ... } } , ... }. - * - * Returns a non-OK status if 'cmdObj' has a read preference but the read preference does not - * parse correctly. - */ - static StatusWith<ReadPreferenceSetting> extractUnwrappedReadPref(const BSONObj& cmdObj); }; } // namespace mongo |