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

Used shared_ptr to keep reference to a TaskExecutor

    XMLWordPrintableJSON

Details

    • Task
    • Status: Backlog
    • Trivial - P5
    • Resolution: Unresolved
    • None
    • None
    • None
    • Sharding NYC

    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

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding-nyc Backlog - Sharding NYC
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: