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

DBClientRS does not propagate applicationName

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1, 4.2.2, 4.0.14
    • Internal Client
    • None
    • Fully Compatible
    • v4.2, v4.0, v3.6
    • 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

              mark.benvenuto@mongodb.com Mark Benvenuto
              mark.benvenuto@mongodb.com Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: