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 63232: Converted SlaveInfo resources from the registry during master recovery.
Date Mon, 23 Oct 2017 23:56:36 GMT

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

Review request for mesos, Benjamin Mahler and Greg Mann.


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


Repository: mesos


Description
-------

The intention is for us to work with resources in the `post-reservation-refinement` format
in the master memory, and store them in the master registry or agent checkpoint in
the `pre` format in order to support downgrades. In this case, we correctly store the `pre`
format resources in the master registry, but we don't convert them back when we read it out
of the registry. This patch converts the resources back to `post` when we read from the registry.


Diffs
-----

  src/master/master.cpp 4b76648b4887724e166ff95e002ee26c8bfef006 


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


Testing
-------

`make check`


Thanks,

Michael Park


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