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

Used shared_ptr to keep reference to a TaskExecutor

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability

      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

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: