Re: What happens when I call reconcileTasks and database divergence

2014-03-10 Thread Benjamin Mahler
This is a great question and is the primary motivation behind: https://issues.apache.org/jira/browse/MESOS-295 To guarantee frameworks can maintain a consistent view of their tasks (without a custom reconciliation mechanism, as is used in Aurora), we will be implementing the Registrar to persist

Re: What happens when I call reconcileTasks and database divergence

2014-03-09 Thread Vinod Kone
Hey David, You might want to look at Aurora and Marathon to see how they do state reconciliation. We are working on a new feature, adding persistent state to master (MESOS-764) https://issues.apache.org/jira/browse/MESOS-764, that should make reconciliation even easier.

What happens when I call reconcileTasks and database divergence

2014-03-07 Thread David Greenberg
I am trying to figure out how to use reconcileTasks to ensure that my DB of tasks is synchronized with Mesos's tasks. Right now, I first commit the fact that I ran a task to the DB, then I launchTasks. My concern is that when I use reconcileTasks to ensure the DB state matches the Mesos state, the