-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13086/
-----------------------------------------------------------
(Updated Nov. 14, 2013, 8:23 a.m.)
Review request for mesos, Benjamin Hindman, Ben Mahler, and Vinod Kone.
Changes
-------
BenM's comments.
Now:
- Calling contend() repeatedly: CHECK failed.
- Calling withdraw() repeatedly: return the same future.
- Withdraw() after contend() but before achieving candidacy: withdraw is
delayed to after candidacy is achieved.
- Client discarding futures now do not trigger aborts.
Bugs: MESOS-496
https://issues.apache.org/jira/browse/MESOS-496
Repository: mesos-git
Description
-------
See summary.
Diffs (updated)
-----
src/Makefile.am e6f7120a9fa014ea1bbbdc3c0ed305abbfe0e741
src/tests/zookeeper_test_server.cpp 0b22f319a53d08f9fe15c97c634b03358f40ba7e
src/tests/zookeeper_tests.cpp 16c5fb7daaf684ece5542b42dd9e9ec66f4a41ce
src/zookeeper/contender.hpp PRE-CREATION
src/zookeeper/contender.cpp PRE-CREATION
src/zookeeper/detector.hpp PRE-CREATION
src/zookeeper/detector.cpp PRE-CREATION
Diff: https://reviews.apache.org/r/13086/diff/
Testing
-------
make check 100 times.
Thanks,
Jiang Yan Xu