diff options
author | Katherine Wu <katherine.wu@mongodb.com> | 2020-06-01 16:59:08 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-01 21:14:49 +0000 |
commit | d4db7598e6c5df02c2bd0778ee1a779f281cba0d (patch) | |
tree | 2782dfd86581d170bdc5063994f81c05c046b357 /src/mongo/db/query/query_request.cpp | |
parent | fd3c7e5c73a1148f8e7599a8cf238698f0f3f4c6 (diff) | |
download | mongo-d4db7598e6c5df02c2bd0778ee1a779f281cba0d.tar.gz |
Revert "SERVER-46625 Improve diagnostics when mongocryptd requests are sent to non-mongocryptd daemon"
This reverts commit 60124ec2ef0acf2e6747d620779cc40c9376c9b6.
Diffstat (limited to 'src/mongo/db/query/query_request.cpp')
-rw-r--r-- | src/mongo/db/query/query_request.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/query/query_request.cpp b/src/mongo/db/query/query_request.cpp index df70966c9aa..dc3113f11c3 100644 --- a/src/mongo/db/query/query_request.cpp +++ b/src/mongo/db/query/query_request.cpp @@ -367,12 +367,6 @@ StatusWith<std::unique_ptr<QueryRequest>> QueryRequest::parseFromFindCommand( if (!status.isOK()) { return status; } - } else if (isMongocryptdArgument(fieldName)) { - return Status(ErrorCodes::FailedToParse, - str::stream() - << "Failed to parse: " << cmdObj.toString() - << ". Unrecognized field '" << fieldName - << "'. This command may be meant for a mongocryptd process."); // TODO SERVER-47065: A 4.6 node still has to accept the '_use44SortKeys' field, since // it could be included in a command sent from a 4.4 mongos. In 4.7 development, this |