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

Move Client management to Service

    • Server Programmability

      Currently, ServiceContext is the object that holds the set of clients associated with a process. This means operations such as iterating over clients with the LockedClientsCursor by default access all clients regardless of cluster role.

      Move the _clients member variable and all its associated functionality from ServiceContext to Service so these functionalities immediately become cluster role-aware. Investigate uses of the ServiceContext APIs that are moved to Service for any cases where we want visibility into clients in a role-agnostic fashion and build ServiceContext equivalents which iterate over its constituent Services.

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: