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

Make external (application) client info available for commands on shards and config servers

    XMLWordPrintable

    Details

    • Sprint:
      Service arch 2020-09-21

      Description

      The rpc from mongoS already passes both the internal (mongoS) client info and the external client (application) info into the shards and config servers, the info being host:port and client metadata. However only the mongoS client info is exposed in the Client class. For diagnostics and logging purposes, it would be useful to expose the external client info too.

      From a conversation with Benjamin Caimano: we encode external client information here. However that is only used in the mongoS hello implementation here. I don't actually see anywhere where it is parsed on the client side. In theory, we could attach this information when it is first seen like we do with other metadata. Then all commands after that hello could access it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shameek.ray Shameek Ray
              Reporter:
              josef.ahmad Josef Ahmad
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: