aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Khutornenko <>
Subject Review Request 47561: Fixing resource slot counting.
Date Wed, 18 May 2016 22:47:42 GMT

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

Review request for Aurora and Joshua Cohen.

Repository: aurora


The current `ResourceBag.binaryOp()` implementation may result in incorrect slot size counting
when mesos offer is missing particular resources. Changing the algorithm to apply binary operator
for the union of resource types with missing values replaced by `0.0` thus making all ops
fully commutative.

Also, fixing scheduling benchmark that has been broken for quite some time (
and then got even "more broken" by


  src/jmh/java/org/apache/aurora/benchmark/ 1dabe150230f80b7317d651c5976d25a257e7a00

  src/jmh/java/org/apache/aurora/benchmark/ 1aa484cd73be45d515dfc0a4350c4feac37bba75

  src/jmh/java/org/apache/aurora/benchmark/ 4c4b03d9cf7fbb2b11c90b522fb14c2b754a1bc6

  src/main/java/org/apache/aurora/scheduler/resources/ 3cff94695094412806b64066d80b6fe30bf3fd59

  src/test/java/org/apache/aurora/scheduler/resources/ b8e64743321713cafd59ecaa67b4c8447410c215

  src/test/java/org/apache/aurora/scheduler/stats/ e529e67debf7d3eccc8f29eec5752ca3b7446471



unit and e2e


Maxim Khutornenko

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