mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <>
Subject Review Request 70702: Serialized all events to master's `/api/v1` subscribers.
Date Thu, 23 May 2019 04:17:09 GMT

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

Review request for mesos, Benjamin Mahler and Greg Mann.

Bugs: MESOS-9785

Repository: mesos


The master needs to create object approvers before sending an event to
its `/api/v1` subscribers. The creation calls `process::collect`, which
does not have any ordering guarantee. As a result, events might be
reordered, which could be unexpected by subscribers.

This patch imposes an order between events by serializing the creation
of object approvers. The actual creations can still go in parallel, but
the returned futures will be completed in the creation order.


  src/master/master.hpp 2771f4c045c877b7d8aa5db042810232c0e40ba0 
  src/master/master.cpp 4d7c37cf8814e45432b3fe15173f5343676a372b 



make check

Ran the test updated in r/70651 for 500 times under stress.


Chun-Hung Hsiao

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