-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14946/
-----------------------------------------------------------
Review request for mesos and Benjamin Hindman.
Bugs: MESOS-736
https://issues.apache.org/jira/browse/MESOS-736
Repository: mesos-git
Description
-------
This is the last patch of a series of patches that implement catch-up
replicated log.
Here is summary of this patch:
1) Introduced RecoverRequest/RecoverResponse in log.proto.
2) Replaced Promise with ReplicaInfo in log.proto as we need persist recovery
information (maintain backwards compatibility).
3) A 2-phase empty log start-up algorithm.
4) Added a test to test two competing recover processes.
This is a joint work with Yan Xu.
Diffs
-----
src/Makefile.am a2d8242
src/log/log.hpp 77edc7a
src/log/recover.hpp PRE-CREATION
src/log/recover.cpp PRE-CREATION
src/log/replica.hpp d1f5ead
src/log/replica.cpp 59a6ff3
src/messages/log.proto 3d5859f
src/tests/log_tests.cpp ff5f86c
Diff: https://reviews.apache.org/r/14946/diff/
Testing
-------
bin/mesos-tests.sh --gtest_filter=CoordinatorTest.*:ReplicaTest.*:LogTest.*
--gtest_repeat=100
Thanks,
Jie Yu