mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <benjamin.bann...@mesosphere.io>
Subject Review Request 67724: Validate principal in `Create[Volume|Disk]` operations.
Date Mon, 25 Jun 2018 18:07:59 GMT

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

Review request for mesos, Chun-Hung Hsiao and Jan Schlicht.


Repository: mesos


Description
-------

This patch adds validation for the principal supplied in
`Create[Volume|Disk]` operations. If the framework has a principal we
expect a set operation principal to match the framework's, but allow
the operation principal to be unset for backwards compatibility in
which case the master would fill in the framework's principal before
forwarding the operation.


Diffs
-----

  src/master/master.cpp 4ade16f044f8a4fdafd5afaba4e6a23232f83a5a 
  src/master/validation.hpp 1ba6d6530d916b5c06762ee2b0bc91b819cd10e5 
  src/master/validation.cpp 798fc7975cf0f0b8b029a33137faa1737d47df66 
  src/tests/master_validation_tests.cpp 6f2a78e394c1251016ce8ce4c0f89b35c76d6ecd 


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


Testing
-------

`sudo make check`


Thanks,

Benjamin Bannier


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