mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yu <yujie....@gmail.com>
Subject Review Request 63094: Added resource sequence id for offer operations.
Date Tue, 17 Oct 2017 23:12:03 GMT

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

Review request for mesos, Benjamin Bannier, Benjamin Mahler, Chun-Hung Hsiao, Gaston Kleiman,
Greg Mann, Joseph Wu, Jan Schlicht, and Vinod Kone.


Repository: mesos


Description
-------

This sequence id is used to establish ordering between the operation
and the resources that the operation is operating on.  Each agent (or
external resource provider) will keep a sequence id, and increments it
when the resources on the agent (or the external resource provider)
has changed. The master will keep track of the last known agent (or
external resource provider) sequence id, and attach this sequence id
in each operation it sends out. The agent (or the external resource
provider) should reject operations that have smaller sequence id than
its own sequence id, because this means the operation is operating on
resources that might have already been invalidated.


Diffs
-----

  include/mesos/resource_provider/resource_provider.proto f5a9073075327019fd133bd51265f695ef464845

  include/mesos/v1/resource_provider/resource_provider.proto e5cbede5b6e57a8641fca1ebfee5454f292cc24c

  src/messages/messages.proto 0a32b3457e9143a7d48670610ca3e56dd516136f 


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


Testing
-------

make check


Thanks,

Jie Yu


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