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

Improve future validity semantics

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-05-02, Service Arch 2022-05-16, Service Arch 2022-05-30, Service Arch 2022-06-13, Service Arch 2022-06-27, Service Arch 2022-07-11, Service Arch 2022-07-25, Service Arch 2022-08-08, Service Arch 2022-08-22, Service Arch 2022-09-05, Service Arch 2022-09-19

    Description

      This is a follow-up to SERVER-62560.

      Although the concept of validity can reflect whether a Future has access to a SharedState (or an immediate value in the case of an optimization), out of the box there are many cases where futures remain valid(), when using them is not necessarily valid. For example, `get` does not currently invalidate the pointer to the SharedState/set it to nullptr.

      Attachments

        Activity

          People

            matt.diener@mongodb.com Matt Diener (Inactive)
            matt.diener@mongodb.com Matt Diener (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: