Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't exit when slave lost because it may not be our tasks' slave.
Exit was added because it was thought it caused the program to hang and consume resources in mesos otherwise. This is not the case as later commits show that printLogs() was actually causing the process to block and then ResourceOffers() was consuming for really an unknown reason :/. This change has been tested to be safe (not consume all mesos resources) when: * Random slaves are lost in cluster. * Slave the task is running on is lost. * Slave the task is running on becomes "unhealthy" (simulated with iptables).
- Loading branch information