mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastón Kleiman <>
Subject Re: Review Request 60525: Fixed the default filter used by the allocator.
Date Wed, 12 Jul 2017 21:41:37 GMT

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

(Updated July 12, 2017, 9:41 p.m.)

Review request for mesos, Alexander Rukletsov, Benjamin Mahler, Greg Mann, and Vinod Kone.


Added a blank line, fixed whitespace.

Bugs: MESOS-7660

Repository: mesos


If a framework accepts/refuses an offer using a very long filter, the
`HierarchicalAllocator` will use the default filter instead. Meaning
that it will filter the resources for only 5 seconds. This can happen
when a framework sets `Filter::refuse_seconds` to a number of seconds
larger than what fits in `Duration`.

This patch makes the allocator use the largest possible filter duration
in this case.

Diffs (updated)

  src/master/allocator/mesos/hierarchical.cpp f021c34ef11aac42026ba39c5a1b775794982035 




`make check`


Gastón Kleiman

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