incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu" <>
Subject Re: Review Request: Allow resource changed callbacks in cgroups to be retried if failed at the first time.
Date Mon, 13 Aug 2012 21:35:36 GMT

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

(Updated Aug. 13, 2012, 9:35 p.m.)

Review request for mesos and Benjamin Hindman.


Implemented a back off policy for retries. (Exponentially back off with factor 2.)

Also, make the "delay" function accept no more than 5 arguments (originally was 3).


Introduced a general mechanism for resource changed callbacks to be retried if failed at the
first time.

The main idea is to have a sequence number for each resource. A newer request will update
the sequence number so that all the previous requests on that resource will be voided.

This elegantly solve the batching update problem!

This patch depends on

Diffs (updated)

  src/slave/cgroups_isolation_module.hpp 00255b5 
  src/slave/cgroups_isolation_module.cpp 8a121e0 
  third_party/libprocess/include/process/delay.hpp f9f2c5e 



make check.


Jie Yu

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