mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Park <>
Subject Review Request 65026: Replaced `ResourcesState::recoverResources` with `state::read`.
Date Mon, 08 Jan 2018 18:14:53 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos and Benjamin Mahler.

Bugs: MESOS-8375

Repository: mesos


The existing `ResourcesState::recoverResources` had complicated logic
for reading back the checkpointed resources. The logic is typically
used not merely for a sequence of messages, but rather for dynamically
appended sequence of messages (e.g. status updates). The `Resources`
however is not a dynamically appended sequence of messages, but rather
the full state and does not require truncation of a partial message.


  src/slave/state.hpp 01abb5095cf09dd36d7f154d007336892bd8df46 
  src/slave/state.cpp 5428b341b061c8209a5cfe63e17b71467d9f4c48 
  src/tests/slave_recovery_tests.cpp e305d7430b64409fdac84a33ee072707471d2c49 




Michael Park

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