-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69963/
-----------------------------------------------------------

Review request for mesos, Benno Evers, Gastón Kleiman, and Greg Mann.


Bugs: MESOS-9542
    https://issues.apache.org/jira/browse/MESOS-9542


Repository: mesos


Description
-------

When an orphaned operation is transitioned from non-terminal to
terminal, the operation's resources must be added back to the agent's
total resources, while accounting for resource conversion if the
operation is successful.

There is an odd case where an orphan is transitioned to terminal
via an UpdateSlaveMessage (instead of UpdateOperationStatusMessage).
When this happens, the required resource math is actually done by
the agent.


Diffs
-----

  src/master/master.cpp 014e0e053cdf5c53a5ef8d63300205a121bed319 


Diff: https://reviews.apache.org/r/69963/diff/1/


Testing
-------

See last patch in chain.


Thanks,

Joseph Wu

Reply via email to