Benjamin Bannier created MESOS-9448:
---------------------------------------

             Summary: Semantics of RECONCILE_OPERATIONS framework API call are 
incorrect
                 Key: MESOS-9448
                 URL: https://issues.apache.org/jira/browse/MESOS-9448
             Project: Mesos
          Issue Type: Bug
          Components: framework, HTTP API, master
            Reporter: Benjamin Bannier


The typical pattern in the framework HTTP API is that frameworks send calls to 
which the master responds with {{Accepted}} responses and which trigger events. 
The only designed exception to this are {{SUBSCRIBE}} calls to which the master 
responds with an {{Ok}} response containing the assigned framework ID. This is 
even codified in {{src/scheduler.cpp:646ff}},
{code}
    if (response->code == process::http::Status::OK) {
      // Only SUBSCRIBE call should get a "200 OK" response.
      CHECK_EQ(Call::SUBSCRIBE, call.type())
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to