mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Mann <g...@mesosphere.io>
Subject Review Request 70518: Fixed a memory leak in the master's 'removeTask()' helper.
Date Mon, 22 Apr 2019 23:45:54 GMT

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

Review request for mesos, Benno Evers, Gastón Kleiman, Joseph Wu, and Vinod Kone.


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


Repository: mesos


Description
-------

Previously, all removed tasks were added to the
`slaves.unreachableTasks` map. This patch adds a conditional
so that removed tasks are only added to that structure when
they are being marked unreachable.


Diffs
-----

  src/master/master.cpp ad54ae217863a08f4e6d743b39c176b171353084 


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


Testing
-------

`make check`


Thanks,

Greg Mann


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