-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22267/
-----------------------------------------------------------
(Updated June 6, 2014, 10:27 p.m.)
Review request for mesos, Benjamin Hindman and Vinod Kone.
Changes
-------
Rebase.
Bugs: MESOS-1453
https://issues.apache.org/jira/browse/MESOS-1453
Repository: mesos-git
Description
-------
Currently, we only reply to a reconciliation request when the task state
differs. This makes it difficult for a framework to implement reconciliation:
if the framework does not receive an update for the task, it cannot determine
if this was because the state is valid, or the slave was transitioning, or the
master has not recovered yet.
As a consequence of this, frameworks looking to reconcile tasks need to
continually retry at small intervals to compensate for the lack of ability to
differentiate the cases listed above.
If we always send back the latest status for each task requested, then the
frameworks can more easily implement reconciliation.
Diffs (updated)
-----
include/mesos/scheduler.hpp a17db5919f8c434a918bf5f782ef5e02c5a9be9c
src/master/master.cpp 89f426c14de365369b900864f1983b1f9260953f
src/tests/reconciliation_tests.cpp 677d18e1a4e1683809d21eb96bab48d6e3868207
Diff: https://reviews.apache.org/r/22267/diff/
Testing
-------
Modified the tests.
Thanks,
Ben Mahler