-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Service Arch 2023-12-11, Service Arch 2023-12-25
CursorResponse::parseFromBSON currently uses a parse based on the inefficient BSONObj::getField. Performance can be improved by switching this to IDL. The file src/mongo/db/query/cursor_response.idl has several types that have many of the fields needed to parse a cursor response but none of them are complete.
The calls to cmdResponse and cursorObj should be handled by IDL.
- is depended on by
-
SERVER-83629 Extend CursorResponse with new metrics
- Closed
-
SERVER-84012 Make CursorResponse::getCursorType return CursorTypeEnum instead of std::string
- Closed