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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Agile

                Completed Sprint:
                Mesosphere Sprint 75 ended 03/Mar/18
                View on Board

                Issue deployment