mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastón Kleiman <gas...@mesosphere.io>
Subject Review Request 69791: Made it possible to checkpoint resources without downgrading them.
Date Fri, 18 Jan 2019 22:59:24 GMT

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

Review request for mesos, Benno Evers and Greg Mann.


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


Repository: mesos


Description
-------

For backwards compatibility the agent currently downgrades resources
before checkpointing them.

In order to support providing operation feedback for operation affecting
agent default resources, we're going to start atomically checkpoint
resources and operations in a new file.

Since we're going to checkpoint the resources to a new file that is not
used by old agents, there is no need to downgrade resources before
writing them to that file.


Diffs
-----

  src/slave/state.hpp e2180ae37a65a57d1edb29d2ad6cc8232029906e 


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


Testing
-------

Current tests still pass.


Thanks,

Gastón Kleiman


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