[SERVER-86109] Make the constructor for RemoteCommandTargeterRS take in ServiceContext Created: 02/Feb/24  Updated: 03/Feb/24

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

Type: Task Priority: Minor - P4
Reporter: Cheahuychou Mao Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Cluster Scalability
Participants:

 Description   

SERVER-85907 made the RemoteCommandTargeterRS depend on getting on the ReplicationCoordinator. Currently, the constructor RemoteCommandTargeterRS doesn't take in a ServiceContext so SERVER-85907 made it call getGlobalServiceContext(). Making the ServiceContext customizable might be necessary when we write new unit tests that need RemoteCommandTargeterRS in the future.  


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