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

Evaluate whether we could change the destruction order of the closure in the ExecutorFuture class

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch

    Description

      The goal of this ticket is to evaluate whether we could change the destruction order of the closure in the ExecutorFuture class: right now is destroyed after setting the future as ready. This has caused some issues, like this one, where the code was assuming that the objects captured by the lamda were destroyed before setting the future as ready.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: