Should we make the connection flow async always?

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Gone away
    • Priority: Minor - P4
    • No Version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      For OIDC the connection flow is async: the MCP Server is released while the driver is connecting. For other types of connections, the flow is completely synchronous, the MCP Server waits until the driver connects successfully to the MongoDB Cluster.

      This is not an issue per se, it complicates the code a bit because the flows are different, but it can affect the user experience of users connecting to a cluster with non-OIDC credentials and there is a long timeout.

      We can fix this by making all flows equal, but we would need to investigate if this can affect negatively how the agent handles the connection status.

            Assignee:
            Unassigned
            Reporter:
            Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: