----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75142/#review226784 -----------------------------------------------------------
Ship it! src/slave/paths.cpp Lines 814 (patched) <https://reviews.apache.org/r/75142/#comment315088> nit: brace on next line - Benjamin Mahler On Aug. 7, 2024, 4:46 p.m., Jason Zhou wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/75142/ > ----------------------------------------------------------- > > (Updated Aug. 7, 2024, 4:46 p.m.) > > > Review request for mesos and Benjamin Mahler. > > > Repository: mesos > > > Description > ------- > > Currently we do not have a place to keep the checkpoint file for the > device manager. > > This patch adds a path helper that gives us a file that lets us > checkpoint the device manager state. > > > Diffs > ----- > > src/slave/containerizer/device_manager/state.proto > 5b7ab36c3fa849f57e225401ad3500aa343a3969 > src/slave/paths.hpp 7d43e9c0170c7bcced916a892590063005133d6f > src/slave/paths.cpp 3e44b636c76c01f88b00f5f8d2db39cc5fe00c1c > > > Diff: https://reviews.apache.org/r/75142/diff/4/ > > > Testing > ------- > > In later patches of the stack, this helper was able to let us write and > recover from the file containing checkpointed state. > > > Thanks, > > Jason Zhou > >
