[SERVER-79970] Make resharding cloner yield Created: 14/Aug/23  Updated: 12/Dec/23

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

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: cs-subteam1, sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-79971 Add async pop to ProducerConsumerQueue Backlog
Assigned Teams:
Cluster Scalability
Participants:

 Description   

Currently runs a while loop in the executor thread. This is currently fine as the executor thread is exclusive to the resharding recipient service. However, it should yield from time to time (like if pop will block) if we want to run multiple recipient services in the future.


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