[SERVER-83627] Convert CursorResponse::parseFromBSON to IDL Created: 28/Nov/23 Updated: 13/Dec/23 Resolved: 13/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Ryan Berryhill |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Service Arch 2023-12-11, Service Arch 2023-12-25 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 12/Dec/23 ] |
|
Author: {'name': 'Ryan Berryhill', 'email': 'ryan.berryhill@mongodb.com', 'username': 'ryanberryhill'}Message: GitOrigin-RevId: 552720e9fd3894df1f6816d8bb3e030185f57b34 |