Used shared_ptr to keep reference to a TaskExecutor

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: