You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Ilya Pronin <ip...@twopensource.com> on 2017/10/03 23:18:27 UTC

Re: Review Request 62287: Added Log::Reader::catchup() method.

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

(Updated Oct. 4, 2017, 12:18 a.m.)


Review request for mesos and Jie Yu.


Changes
-------

`recoverMissing()` function was reamed to `catchup()`.


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


Repository: mesos


Description
-------

The new method launches the 'recoverMissing' process to catch-up the
local non-leaing replica and allow safe eventually consistent reads from
it.


Diffs (updated)
-----

  include/mesos/log/log.hpp d92d7a0b982c1c4bc0fdedde19fe012a6523a224 
  src/log/log.hpp 24481aaae145301e7a8ea1c91b1c16e48ded4843 
  src/log/log.cpp dcb66f7dd5da5059925b7b731e83f7320f645030 
  src/tests/log_tests.cpp f9f9400c901152779ae0ebfe74cf8f7aac1d3396 


Diff: https://reviews.apache.org/r/62287/diff/2/

Changes: https://reviews.apache.org/r/62287/diff/1-2/


Testing
-------

Added a test that verifies that it's possible to catch-up the lagging replica using the `Reader` and successfully read entries that were caught-up. Ran `make check`.


Thanks,

Ilya Pronin


Re: Review Request 62287: Added Log::Reader::catchup() method.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62287/#review194371
-----------------------------------------------------------


Ship it!




Ship It!

- Jie Yu


On Oct. 5, 2017, 8:05 p.m., Ilya Pronin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62287/
> -----------------------------------------------------------
> 
> (Updated Oct. 5, 2017, 8:05 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: MESOS-7973
>     https://issues.apache.org/jira/browse/MESOS-7973
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The new method catches-up positions missing in the local non-leading
> replica to allow safe eventually consistent reads from it.
> 
> 
> Diffs
> -----
> 
>   include/mesos/log/log.hpp d92d7a0b982c1c4bc0fdedde19fe012a6523a224 
>   src/log/log.hpp 24481aaae145301e7a8ea1c91b1c16e48ded4843 
>   src/log/log.cpp dcb66f7dd5da5059925b7b731e83f7320f645030 
>   src/tests/log_tests.cpp f9f9400c901152779ae0ebfe74cf8f7aac1d3396 
> 
> 
> Diff: https://reviews.apache.org/r/62287/diff/2/
> 
> 
> Testing
> -------
> 
> Added a test that verifies that it's possible to catch-up the lagging replica using the `Reader` and successfully read entries that were caught-up. Ran `make check`.
> 
> 
> Thanks,
> 
> Ilya Pronin
> 
>


Re: Review Request 62287: Added Log::Reader::catchup() method.

Posted by Ilya Pronin <ip...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62287/
-----------------------------------------------------------

(Updated Oct. 5, 2017, 1:05 p.m.)


Review request for mesos and Jie Yu.


Changes
-------

Updated description.


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


Repository: mesos


Description (updated)
-------

The new method catches-up positions missing in the local non-leading
replica to allow safe eventually consistent reads from it.


Diffs
-----

  include/mesos/log/log.hpp d92d7a0b982c1c4bc0fdedde19fe012a6523a224 
  src/log/log.hpp 24481aaae145301e7a8ea1c91b1c16e48ded4843 
  src/log/log.cpp dcb66f7dd5da5059925b7b731e83f7320f645030 
  src/tests/log_tests.cpp f9f9400c901152779ae0ebfe74cf8f7aac1d3396 


Diff: https://reviews.apache.org/r/62287/diff/2/


Testing
-------

Added a test that verifies that it's possible to catch-up the lagging replica using the `Reader` and successfully read entries that were caught-up. Ran `make check`.


Thanks,

Ilya Pronin