[SERVER-85991] Move Client management to Service Created: 30/Jan/24  Updated: 07/Feb/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: James Bronsted Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:

 Description   

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.


Generated at Thu Feb 08 06:59:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.