-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22268/
-----------------------------------------------------------
(Updated June 6, 2014, 10:27 p.m.)
Review request for mesos, Benjamin Hindman and Vinod Kone.
Changes
-------
Vinod's review and Java documentation updates.
Bugs: MESOS-1379
https://issues.apache.org/jira/browse/MESOS-1379
Repository: mesos-git
Description
-------
Currently frameworks must ask to reconcile a set of tasks explicitly, this
means that the tasks must be known to the framework.
In some cases, the framework may lose the information about a particular task
(bugs, data loss, etc). When this occurs, we do not provide a mechanism for the
state to be reconciled.
That is, the non-terminal tasks known to the Master / Slave that are unknown to
the framework will remain running. Status updates from these tasks are the only
way that frameworks will be informed of these tasks. This patch introduces the
notion of an "implicit" reconciliation request where the framework does not ask
about any explicit tasks. In this case, the master replies with all tasks
currently known.
Diffs (updated)
-----
include/mesos/scheduler.hpp a17db5919f8c434a918bf5f782ef5e02c5a9be9c
include/mesos/scheduler/scheduler.proto
4deda5598d9c242f97659d06309294f24f7cfd8a
src/java/src/org/apache/mesos/SchedulerDriver.java
ae2d915d9afb3d35d42a24b56115a386ea960154
src/master/master.cpp 89f426c14de365369b900864f1983b1f9260953f
src/messages/messages.proto 6f6e570b1018d8c54d4b8d811470086832792ec4
src/python/src/mesos.py a2fc0e92a021f96214bfcfe9cf9703ed6290803b
src/tests/reconciliation_tests.cpp 677d18e1a4e1683809d21eb96bab48d6e3868207
Diff: https://reviews.apache.org/r/22268/diff/
Testing
-------
Added two tests for implicit reconciliation.
Thanks,
Ben Mahler