mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Sekretenko <asekrete...@mesosphere.io>
Subject Review Request 72314: Skip not yet known framework IDs in `generateInverseOffers()`.
Date Fri, 03 Apr 2020 12:53:01 GMT

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

Review request for mesos, Andrei Budnik, Benjamin Mahler, and Greg Mann.


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


Repository: mesos


Description
-------

This patch fixes MESOS-10109 by making hierarchical allocator, when
it generates inverse offers, skip IDs of frameworks returned by
`Slave::getOfferedOrAllocated()` that have not yet been added
to the allocator via `addFramework()`.


Diffs
-----

  src/master/allocator/mesos/hierarchical.cpp 0df319b6b1475cc3bb46f88e3788846ecf353468 


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


Testing
-------

`make check` (+ the test from the next patch)


Thanks,

Andrei Sekretenko


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