Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83627

Convert CursorResponse::parseFromBSON to IDL

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • 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.

            Assignee:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: