mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@mesosphere.io>
Subject Re: Review Request 63823: Initialization and registration for storage local resource provider.
Date Wed, 22 Nov 2017 08:47:22 GMT

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

(Updated Nov. 22, 2017, 8:47 a.m.)


Review request for mesos, Jie Yu, Joseph Wu, and Jan Schlicht.


Changes
-------

Added reliable registration.


Summary (updated)
-----------------

Initialization and registration for storage local resource provider.


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


Repository: mesos


Description (updated)
-------

This patch validates `ResourceProviderInfo` for storage local resource
providers upon creation. During initialization, the storage local
resource provider first tries to recover its ID of the last session
through reading the actual path linked by
`<work_dir>/meta/resource_providers/<type>/<name>/latest`,
then do a reliable registration to the agent's resource provider
manager.

This patch is split from https://reviews.apache.org/r/63021/.


Diffs (updated)
-----

  src/resource_provider/manager.cpp 6dfc42900a1e4249f37cec585f7fe50f5aa94e43 
  src/resource_provider/storage/provider.cpp 46224997430ac0c568904d80014166a6f059907f 


Diff: https://reviews.apache.org/r/63823/diff/3/

Changes: https://reviews.apache.org/r/63823/diff/2-3/


Testing
-------

make


Thanks,

Chun-Hung Hsiao


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