[ 
https://issues.apache.org/jira/browse/MESOS-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611935#comment-14611935
 ] 

Peter Kolloch commented on MESOS-2308:
--------------------------------------

This might or might not be related:

Currently, if you call reconcileTasks with an empty list, I do not know of any 
way to know when the reconciliation has finished. 

This would be a really nice feature since a framework would not have to persist 
task state anymore because it can recover that state from Mesos on startup. 
Without this feature, a framework like Marathon might try to scale up an 
application unnecessarily because it has not yet received information about all 
tasks.

Would this be solved by this issue or should I create a separate ticket for 
that? I would also be happy to know about any work arounds that might solve 
this problem.

> Task reconciliation API should support data partitioning
> --------------------------------------------------------
>
>                 Key: MESOS-2308
>                 URL: https://issues.apache.org/jira/browse/MESOS-2308
>             Project: Mesos
>          Issue Type: Story
>            Reporter: Bill Farner
>
> The {{reconcileTasks}} API call requires the caller to specify a collection 
> of {{TaskStatus}}es, with the option to provide an empty collection to 
> retrieve the master's entire state.  Retrieving the entire state is the only 
> mechanism for the scheduler to learn that there are tasks running it does not 
> know about, however this call does not allow incremental querying.  The 
> result would be that the master may need to send many thousands of status 
> updates, and the scheduler would have to handle them.  It would be ideal if 
> the scheduler had a means to partition these requests so it can control the 
> pace of these status updates.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to