You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jie Yu <yu...@gmail.com> on 2017/12/21 21:50:13 UTC
Re: Review Request 62285: Added tombstone flag to NOP log action.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62285/#review194367
-----------------------------------------------------------
Ship it!
Ship It!
- Jie Yu
On Sept. 25, 2017, 1:05 p.m., Ilya Pronin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62285/
> -----------------------------------------------------------
>
> (Updated Sept. 25, 2017, 1:05 p.m.)
>
>
> Review request for mesos and Jie Yu.
>
>
> Bugs: MESOS-7973
> https://issues.apache.org/jira/browse/MESOS-7973
>
>
> Repository: mesos
>
>
> Description
> -------
>
> NOP action is used as a filler for holes in the "fill" procedure and as
> the action in a response to a promise request for a truncated position.
> The tombstone flag is introduced so that replicas are able to
> distinguish the truncated action from a real NOP.
>
>
> Diffs
> -----
>
> src/log/leveldb.cpp 5310a123b0fb25f240429722b676fe46174cb2ce
> src/log/replica.cpp 39f2879b2e37c1ca9a9f987ce0a3b83e8dbc9b43
> src/messages/log.proto ca740bd011147f8f48cc5dfcacefa5fdbd95ccd0
> src/tests/log_tests.cpp f9f9400c901152779ae0ebfe74cf8f7aac1d3396
>
>
> Diff: https://reviews.apache.org/r/62285/diff/2/
>
>
> Testing
> -------
>
> Added a test that verifies that a replica correctly handles the tombstone NOP. Ran `make check`.
>
>
> Thanks,
>
> Ilya Pronin
>
>