mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Mann <g...@mesosphere.io>
Subject Review Request 70472: Ensured that task groups do not specify overlapping ranges or sets.
Date Sat, 13 Apr 2019 02:03:36 GMT

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

Review request for mesos, Benno Evers and Gastón Kleiman.


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


Repository: mesos


Description
-------

This patch adds validation to the master to ensure that task
groups do not include resources with overlapping set- or
range-valued resources, as this can crash the allocator.


Diffs
-----

  src/master/validation.hpp 71748c121aa3518d68811ea1e60707d195b58657 
  src/master/validation.cpp f032a781608857d0c9cfa220dd8d70f74d60f1ec 
  src/tests/master_tests.cpp 964d935771a99efaee63187affe46b551146f310 
  src/tests/master_validation_tests.cpp 400ad686291e08f578f27cfb9341263972e36684 


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


Testing
-------

`make check`
`bin/mesos-tests.sh --gtest_filter="*NonoverlappingSetsAndRanges*" --gtest_repeat=-1 --gtest_break_on_failure`
`bin/mesos-tests.sh --gtest_filter="*LaunchGroupOverlappingSetAndRangeResources*" --gtest_repeat=-1
--gtest_break_on_failure`


Thanks,

Greg Mann


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