mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <>
Subject Re: Review Request 47082: LostSlaveMessage should be sent to affected frameworks only.
Date Thu, 26 May 2016 23:56:13 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 26, 2016, 11:56 p.m.)

Review request for mesos and Jiang Yan Xu.


Updated based on review comments.

Bugs: MESOS-5143

Repository: mesos

Description (updated)

When a slave is removed, master sends a LostSlaveMessage to affected
frameworks only (instead of all registered frameworks). An affected
framework is a framework which satisfied one or more conditions of
the following:

1. There are running tasks on this slave belonging to the framework.
2. There are pending tasks on this slave belonging to the framework.
3. Reserved resources on the slave have a matching role with the
   role of the framework.
4. There are pending offers or pending inverse offers from this slave
   for the framework.

Diffs (updated)

  src/master/master.hpp 1a875c32eddfb6d884e3d0dda7f5716ee53966c3 
  src/master/master.cpp 0005a29caabcc6a3776037cf86a2b12660e6377b 
  src/tests/master_tests.cpp 34be015aa314a7574e9065efb7b1bb8e1570c5b7 



All existing and modified tests passed.


Anindya Sinha

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