----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70392/#review214374 -----------------------------------------------------------
Ship it! We probably want a ticket for this? IMO, instead of `hashmap<string, Role>`. We should pull the tree structure of the sorter here and have `hashmap<std::string, Node*>` or something similar. - Meng Zhu On April 4, 2019, 11:57 a.m., Benjamin Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/70392/ > ----------------------------------------------------------- > > (Updated April 4, 2019, 11:57 a.m.) > > > Review request for mesos and Meng Zhu. > > > Repository: mesos > > > Description > ------- > > Currently, the `roles` map does not track a role if it has a > reservation but no allocation or framework subscription. This > was an oversight and is unintuitive. > > > Diffs > ----- > > src/master/allocator/mesos/hierarchical.hpp > 9d51aebb8862436b36da87875f6e821b711b8c56 > > > Diff: https://reviews.apache.org/r/70392/diff/1/ > > > Testing > ------- > > make check > > > Thanks, > > Benjamin Mahler > >
