mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <>
Subject Re: Review Request 66144: Enforced task launch order on the agent.
Date Tue, 03 Apr 2018 00:36:18 GMT

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

(Updated April 2, 2018, 5:36 p.m.)

Review request for mesos, Chun-Hung Hsiao and Greg Mann.

Bugs: MESOS-8617 and MESOS-8624

Repository: mesos


Up until now, Mesos does not guarantee in-order
task launch on the agent. There are two asynchronous
steps (unschedule GC and task authorization) in the
agent task launch path. Depending on the CPU scheduling
order, a later task launch may finish these two steps earlier
than its predecessors and get to the launch executor stage
earlier, resulting in out-of-order task delivery.

This patch enforces the task delivery order by sequencing
task launch after the two asynchronous steps, specifically
right before entering `__run()`.

Diffs (updated)

  src/slave/slave.hpp 37f0361251524e63d02d251e8a03901812b8affb 
  src/slave/slave.cpp a4bd4ccd3fc59c3c0e462d9b480f5424b3e52d7a 




make check


Meng Zhu

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