mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <benjamin.bann...@mesosphere.io>
Subject Re: Review Request 63731: Reconciled pending resource provider operations in agent.
Date Thu, 30 Nov 2017 16:00:33 GMT

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

(Updated Nov. 30, 2017, 5 p.m.)


Review request for mesos, Greg Mann, Jie Yu, and Jan Schlicht.


Changes
-------

Addressed comment from Jie.


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


Repository: mesos


Description
-------

When resource providers update their state they send a list of
pending or unacknowledged operations to the agent. This patch add
tracking for such operations to the agent. The agent can then forward
these operations to the master, e.g., for calculating the unused
resources behind an agent.

We track an operation until we either receive a updated list of
pending or unacknowledged operations from a resource provider, or
until we see an acknowledgement from a framework. This keeps the list
of operations bounded and ensures that we maintain the latest
information in the agent.


Diffs (updated)
-----

  src/slave/slave.cpp 554a2da6b8e8d0ca8efa0752388f82e48021abce 


Diff: https://reviews.apache.org/r/63731/diff/8/

Changes: https://reviews.apache.org/r/63731/diff/7-8/


Testing
-------

`make check`, tested as part of https://reviews.apache.org/r/63843/.


Thanks,

Benjamin Bannier


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message