mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <>
Subject Re: Review Request 58487: Fix allocation quantities when shared resources are removed.
Date Wed, 19 Apr 2017 02:50:04 GMT

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

(Updated April 19, 2017, 2:50 a.m.)

Review request for mesos, James Peach and Jiang Yan Xu.

Bugs: MESOS-7308

Repository: mesos


When shared resources are removed from the `allocations` in the sorter,
we remove the scalar quantity only when the shared resource is actually
removed (i.e. shared count goes down to 0). Similarly, we increase the
scalar quantity only when this is a new shared resource that is being
added to the `allocations`.

Diffs (updated)

  src/master/allocator/sorter/drf/sorter.cpp ed54680cecb637931fc344fbcf8fd3b14cc24295 




Tests passed.


Anindya Sinha

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