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

Remove promise.getFuture()

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.2, 4.1.2
    • Internal Code
    • None
    • Fully Compatible
    • v4.0
    • Platforms 2018-07-16, Platforms 2018-07-30

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: