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)