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

DBClientConnection should require an appName

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible
    • 2

      As is, DBClientConnection takes in an applicationName here. But it never verifies that the applicationName is not empty. We should invariant that it isn't empty and change locations that were using empty applicationNames. This would allow us to explicitly see when shardsvr commands are on behalf of internal services like initial sync.

       

      Acceptance criteria:

      Change appNames to be non empty (e.g. (_FILE_) and log a warning when they are empty. 

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: