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

Add ExecutorFuture<T>::getAsyncMaybeInline

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch
    • Fully Compatible

      Add support for a new method on executor future which terminates a chain and executes its callback regardless of failures to schedule. The intention is for this function to allow for cleanup that always needs to occur.

      An ideal signature would look like:

      void getAsyncMaybeInline(StatusOrStatusWith<T> t, bool executorShutdown)

      the extra parameter would allow the caller to identify when they might be running inline, and to possibly take extra precaution in that case

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: