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

Remove promise.getFuture()

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.2, 4.1.2
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • v4.0
    • Platforms 2018-07-16, Platforms 2018-07-30

      promise.getFuture() is racy with setting the promise. Now that we have makePromiseFuture<T>, we should remove the dangerous variant.

            Assignee:
            adam.martin@mongodb.com ADAM Martin (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: