mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Park <mp...@apache.org>
Subject Review Request 60174: Updated the resources validation logic to allow for the endpoint format.
Date Sun, 18 Jun 2017 22:02:01 GMT

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

Review request for mesos and Neil Conway.


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


Repository: mesos


Description
-------

For backwards compatibility of external tools consuming endpoints,
We'll inject the "pre-reservation-refinement" format for resources
without refined reservations. That is, the `Resource.role` and
`Resource.reservation` fields will be filled in with the single
reservation inside `Resource.reservations`.

We update the validation logic to allow these resources to be valid.


Diffs
-----

  src/common/resources.cpp f12ab970fbce2815a5a22e5080af9fb70c6aef9f 
  src/v1/resources.cpp 30644ee0bfeb8498d7b10daa79c0da369201abf3 


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


Testing
-------


Thanks,

Michael Park


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