mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Rukletsov <ruklet...@gmail.com>
Subject Review Request 57695: Kept TaskInfo beyond first scheduler ack in default executor.
Date Thu, 16 Mar 2017 16:45:54 GMT

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

Review request for mesos, Anand Mazumdar, Gastón Kleiman, and Vinod Kone.


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


Repository: mesos


Description
-------

Instead of maintaining a separate collection for unacknowledged tasks,
we augment internal `Container` struct by the corresponding `TaskInfo`
and `acknowledged` flag. This way we are still able to find all
unacknowledged tasks (slightly less efficiently as before since now
we have to iterate through all tasks), but also keep `TaskInfo`s
beyond receiving the first acknowledgement.


Diffs
-----

  src/launcher/default_executor.cpp cbd4f7ecd042e7fa603bd69774d95472df2c896d 


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


Testing
-------

See https://reviews.apache.org/r/56218/


Thanks,

Alexander Rukletsov


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