Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8576

Improve discard handling of 'Docker::inspect()'

    XMLWordPrintableJSON

Details

    Description

      In the call path of Docker::inspect(), each continuation currently checks if promise->future().hasDiscard(), where the promise is associated with the output of the docker inspect call. However, if the call to docker inspect becomes hung indefinitely, then continuations are never invoked, and a subsequent discard of the returned Future will have no effect. We should add proper onDiscard handling to that Future so that appropriate cleanup is performed in such cases.

      Attachments

        Issue Links

          Activity

            People

              greggomann Greg Mann
              greggomann Greg Mann
              Michael Park Michael Park
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: