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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch 2019-08-12

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: