You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2016/04/28 18:30:13 UTC
[jira] [Created] (MESOS-5301) Add synchronous validation for all
types of Calls.
Anand Mazumdar created MESOS-5301:
-------------------------------------
Summary: Add synchronous validation for all types of Calls.
Key: MESOS-5301
URL: https://issues.apache.org/jira/browse/MESOS-5301
Project: Mesos
Issue Type: Improvement
Reporter: Anand Mazumdar
Currently, we do a best effort validation for all calls sent to the master from the scheduler by invoking {{validation::scheduler::call::validate(call, principal)}}. This is a generic validation helper for all calls. However, for more coarse grained validation for a particular call, we invoke the validation as part of the call handle itself.
{code}
Option<Error> validationError = roles::validate(frameworkInfo.role());
{code}
This in turn makes all validations asynchronous i.e. the framework gets them as {{Event::ERROR}} events later. It would be good if such validations can be handled while processing the {{Call}} message itself synchronously.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)