[
https://issues.apache.org/jira/browse/MESOS-5020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211124#comment-15211124
]
Yong Tang commented on MESOS-5020:
----------------------------------
Hi [~anandmazumdar] [~vinodkone], I created a review request:
https://reviews.apache.org/r/45327/
Please take a look if you have time and let me know if there are any issues.
> Drop `404 Not Found` and `307 Temporary Redirect` in the scheduler library.
> ---------------------------------------------------------------------------
>
> Key: MESOS-5020
> URL: https://issues.apache.org/jira/browse/MESOS-5020
> Project: Mesos
> Issue Type: Improvement
> Reporter: Anand Mazumdar
> Assignee: Yong Tang
> Labels: mesosphere, newbie
>
> Currently, the scheduler library does not drop {{404 Not Found}} but treats
> them as {{Event::ERROR}}. The library can receive this if the master has not
> yet set up HTTP routes yet. The executor library already deals with this.
> Secondly, in some cases, the {{detector}} can detect a new master without the
> master realizing that it has been elected as the new master. In such cases,
> the master responds with {{307 Temporary Redirect}}. We would like to drop
> these status codes too instead of treating them as {{Event::ERROR}} too.
> https://github.com/apache/mesos/blob/master/src/scheduler/scheduler.cpp#L547
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)