mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Wu" <jos...@mesosphere.io>
Subject Review Request 40264: Libprocess Reinitialization: Implement Clock::finalize for cleaning up timers
Date Fri, 20 Nov 2015 19:17:27 GMT

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

Review request for mesos, Artem Harutyunyan and Joris Van Remoortere.


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


Repository: mesos


Description
-------

Timers may deference `process_manager`, either directly or via the associated lambda, after
`process_manager` has been freed in `process::finalize`.  Cleaning up the `Clock` appropriately
in `process::finalize` prevents that race.


Diffs
-----

  3rdparty/libprocess/include/process/clock.hpp 1107a329caf77f15901d87808eee72818601510c 
  3rdparty/libprocess/src/clock.cpp 58060985bf8ab8a1bbd78b687b4c96836e13b86a 
  3rdparty/libprocess/src/process.cpp 8fa0594b671969c2713d1b361f2dbbb07d25b3a8 

Diff: https://reviews.apache.org/r/40264/diff/


Testing
-------

`make check` (--enable-libevent --enable-ssl)


Thanks,

Joseph Wu


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