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

DBClientRS does not propagate applicationName

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.2, 4.0.14
    • Component/s: Internal Client
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Sprint:
      Security 2019-10-07, Security 2019-10-21

      Description

      There are two places it is not propagated:

      The application name is not propagated from the URI to the connect():

      https://github.com/mongodb/mongo/blob/f66d468830246d4a448c9e87e698691e0abc026b/src/mongo/client/connpool.cpp#L394

      cloneURIForServer - it does not propagate the application name from the RS connection to the URI.

      https://github.com/mongodb/mongo/blob/f66d468830246d4a448c9e87e698691e0abc026b/src/mongo/client/dbclient_rs.cpp#L298

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: