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

Change CursorResponseBuilder::done to append CursorMetrics metrics when the flag is se

    • 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

      The CursorResponseBuilder::done() should append the IDL CursorMetrics if passed a optional CursorMetrics object.

      The CursorMetrics will fill its information from CurOp::OpDebug. We could pass an OperationContext to the done() method but I want to avoid CursorResponseBuilder depending on OperationContext.

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

              Created:
              Updated:
              Resolved: