On Mon, Dec 12, 2016 at 1:32 PM, Joris Van Remoortere <jo...@mesosphere.io> wrote: > It sounds like using a multi_hashmap for now allows you to clean up the > code and avoid some bugs, without changing the existing behavior.
Because we want cache-like behavior (bounded size + LRU replacement), this would require adding a new data structure, BoundedMultiHashMap (https://reviews.apache.org/r/54178/). That seems like overkill to me, for now. > It would also be unfortunate if we said we were dis-allowing duplicate task > ids but only catch some of the manifestations. Definitely unfortunate, but I don't see an alternative, as long as we continue to allow frameworks to freely choose their own task IDs. Neil