-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43799/
-----------------------------------------------------------
(Updated Feb. 23, 2016, 7:43 p.m.)
Review request for mesos, Joris Van Remoortere and Michael Park.
Changes
-------
Updated to take into account Bernd's review. Note that the patch as it is
doesn't completely remove all races, so more thought needs to be put into it.
Bugs: MESOS-3271 and MESOS-4711
https://issues.apache.org/jira/browse/MESOS-3271
https://issues.apache.org/jira/browse/MESOS-4711
Repository: mesos
Description
-------
Under certains circumstances, the future returned by poll is discarded right
after the event is triggered, this causes the event callback to be called
before the discard callback which results in an abort signal being raised
by the libevent library.
Diffs (updated)
-----
3rdparty/libprocess/src/libevent_poll.cpp
461624ca003e97be5ea9cf956d86fc294e6f1bc1
Diff: https://reviews.apache.org/r/43799/diff/
Testing
-------
```bash
# On CentOS 6.7 running in virtualbox
../configure --enable-ssl --enable-libevent
make -j4 check
sudo ./bin/mesos-tests.sh
--gtest_filter="MemoryPressureMesosTest.CGROUPS_ROOT_SlaveRecovery"
--gtest_repeat=1000
```
Thanks,
Alexander Rojas