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

Review request for mesos and Jie Yu.


Bugs: MESOS-7973
    https://issues.apache.org/jira/browse/MESOS-7973


Repository: mesos


Description
-------

The process is used to "recover" a non-leading VOTING replica by running
the recovery protocol to find current begin and end positions of the log
and catching-up positions that are missing on the replica. This allows
following replicas to serve eventually consistent reads.


Diffs
-----

  src/log/recover.hpp 94d6bb283ea82df607fcc72de05cda3b12ad5d2d 
  src/log/recover.cpp b366818767adb259ee6805f9978fd330b790a264 
  src/tests/log_tests.cpp f9f9400c901152779ae0ebfe74cf8f7aac1d3396 


Diff: https://reviews.apache.org/r/62286/diff/1/


Testing
-------

Added tests that verify that the new recovery process correctly performs and 
produces meaningful result under various circumstances (recovered positions 
were truncated, replica was lagging far behind). Ran `make check`.


Thanks,

Ilya Pronin

Reply via email to