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

ExecutorFuture::thenRunOn should not getAsync() on same executor

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch 2019-08-12

      The current thenRunOn() is a strict passthru to SemiFuture::thenRunOn(). If we compare against the _exec member, then we can potentially continue to run inline if the future is already on that executor.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: