You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "zhou xing (JIRA)" <ji...@apache.org> on 2016/03/10 04:45:40 UTC
[jira] [Commented] (MESOS-4580) Consider returning `202` (Accepted)
for /reserve and related endpoints
[ https://issues.apache.org/jira/browse/MESOS-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15188621#comment-15188621 ]
zhou xing commented on MESOS-4580:
----------------------------------
Dear Neil and Vinod, we have submitted the patch at https://reviews.apache.org/r/44606/, please take a review, thanks!
> Consider returning `202` (Accepted) for /reserve and related endpoints
> ----------------------------------------------------------------------
>
> Key: MESOS-4580
> URL: https://issues.apache.org/jira/browse/MESOS-4580
> Project: Mesos
> Issue Type: Bug
> Components: master
> Reporter: Neil Conway
> Assignee: Jay Guo
> Labels: mesosphere
>
> We currently return {{200}} (OK) when a POST to {{/reserve}}, {{/unreserve}}, {{/create-volumes}}, and {{/destroy-volumes}} is validated successfully. This is misleading, because the underlying operation is still dispatched asynchronously and might subsequently fail. It would be more accurate to return {{202}} (Accepted) instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)