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

Expose the RPC's termination status via the DBClientSession interface

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-12-11, Service Arch 2023-12-25

    Description

      In gRPC, individual RPCs end with a return status set by the server, which contains an error code and a message. There is currently no way to observe this status when using a gRPC stream via a DBClientSession. In fact, right now all RPCs created via DBClientSession are terminated by cancellation, which appears server side as a failure.

      We should introduce a way to close a DBClientSession such that the termination status is preserved, and we should adopt that in the shell's exit path.

      Attachments

        Activity

          People

            patrick.freed@mongodb.com Patrick Freed
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: