-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/6534/
-----------------------------------------------------------

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


Review request for mesos and Benjamin Hindman.


Changes
-------

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).


Description
-------

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
https://reviews.apache.org/r/6501/


Diffs (updated)
-----

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

Diff: https://reviews.apache.org/r/6534/diff/


Testing
-------

make check.


Thanks,

Jie Yu

Reply via email to