[SERVER-42031] Used shared_ptr to keep reference to a TaskExecutor Created: 01/Jul/19  Updated: 12/Dec/23

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

Type: Task Priority: Trivial - P5
Reporter: Randolph Tan Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: neweng, sharding-common-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-42030 Make MetadataManager keep a shared_pt... Closed
Assigned Teams:
Cluster Scalability
Participants:

 Description   

One motivation for this is to make it compatible with SemiFuture::thenRunOn

Here's a list of classes that keep a raw pointer reference to TaskExecutor:

Fetcher
RemoteCommandRetryScheduler
ReplicaSetMonitor

Under src/db/repl:
AbstractAsyncComponent
CollectionCloner
DataReplicatorExternalStateImpl
DatabaseCloner
InitialSyncer
MultiApplier
OplogApplier
Reporter
ScatterGatherRunner
SyncSourceResolver


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