[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-issues
Subject: [jira] [Commented] (MESOS-8576) Improve discard handling of 'Docker::inspect()'
From: "Greg Mann (JIRA)" <jira () apache ! org>
Date: 2018-02-28 1:06:00
Message-ID: JIRA.13138103.1518509736000.291938.1519779960404 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/MESOS-8576?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=16379604#comment-16379604 ]
Greg Mann commented on MESOS-8576:
----------------------------------
Review: https://reviews.apache.org/r/65683/
> Improve discard handling of 'Docker::inspect()'
> -----------------------------------------------
>
> Key: MESOS-8576
> URL: https://issues.apache.org/jira/browse/MESOS-8576
> Project: Mesos
> Issue Type: Improvement
> Components: containerization, docker
> Affects Versions: 1.5.0
> Reporter: Greg Mann
> Assignee: Greg Mann
> Priority: Major
> Labels: mesosphere
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic