mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <bmah...@apache.org>
Subject Review Request 70594: Fixed an issue where /__processes__ never returns a response.
Date Fri, 03 May 2019 19:58:13 GMT

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

Review request for mesos, Alexander Rukletsov and Chun-Hung Hsiao.


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


Repository: mesos


Description
-------

It's possible for /__processes__ to never return a response if
a process is terminated after the /__processes__ handler dispatches
to it, thus leading the Future to be abandoned.

This patch ensures we ignore those cases, rather than wait forever.

See MESOS-9766.


Diffs
-----

  3rdparty/libprocess/src/process.cpp 124836472313721a5dbfe4b1ca55f0da3cecd66b 


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


Testing
-------

Added a test in the subsequent patch.


Thanks,

Benjamin Mahler


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