mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Wu" <>
Subject Review Request 42086: Updated master's Offer validation to handle InverseOffers.
Date Fri, 08 Jan 2016 23:25:22 GMT

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

Review request for mesos, Ben Mahler, Artem Harutyunyan, and Joris Van Remoortere.

Bugs: MESOS-4301

Repository: mesos


Changes `validation::offer::validate` to not error when a valid inverse offer is validated.

Tweaks `Master::accept` to not print a misleading log line "ACCEPT call used invalid offers
..." when the call only includes inverse offers.


  src/master/master.hpp f02d165874fa8023675e545793de699aeecae29b 
  src/master/master.cpp 2d9b7f9540574aa3ef9e5af3b2b8922dffeebac8 
  src/master/validation.hpp 380b40279faf180a6f401a5e28280b601dbc648c 
  src/master/validation.cpp 6a43bce5b7df6a9d939245c4726d060fa19eb305 



make check

# Ran the following and checked for blank output:
bin/ --gtest_filter="*Inverse*Offer*" --verbose 2>&1 /dev/null |  grep
"ACCEPT call used invalid offers"

# Check new test for flakiness:
bin/ --gtest_filter="*OffersAndInverseOffers" --gtest_repeat=1500 --gtest_break_on_failure


Joseph Wu

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