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

Make CursorResponse::getCursorType return CursorTypeEnum instead of std::string

    • 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
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22

      getCursorType returns an optional<std::string> and callers use IDL to parse it into a CursorTypeEnum (e.g., here).

      TaskExecutorCursor stores the result of getCursorType. However, callers of TaskExecutorCursor::getType also use IDL to parse it into CursorTypeEnum. Some of its callers are in the enterprise module.

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

              Created:
              Updated:
              Resolved: