Standardize thread creation steps between process-wise task executors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 2
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      Right now we have three long living task executors: the LocalExecutor, the ReplicaSetNodeExecutor and the Grid's executor.
      The LocalExecutor and the ReplicaSetNodeExecutor sets up the on thread creation handler in a way that on a thread creation it creates a client.
      However the grid's executors' don't have this option set up neither for the fixed nor the other executors.

      This causes discrepancy if we use the MongoProcessInterface as based on the node's role it uses either the grid's or the replset's executor (see here), meaning the user of the interface has no idea if the thread that belongs to the executor has a client or not without further checking.

      The task is to standardize the thread initialization, hopefully by initializing the client on the grid's executors too.

            Assignee:
            Unassigned
            Reporter:
            Wolfee Farkas
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: