[Tarantool-patches] [PATCH 1/2] relay: fix vclock obtainment on join

Kirill Yukhin kyukhin at tarantool.org
Tue Dec 31 12:11:53 MSK 2019


Hello,

On 30 дек 20:47, Ilya Kosarev wrote:
> In case of high load vclock used to join replica could be in advance
> comparing to an actual WAL. Therefore replica could have missed some
> tuples from master. In order to fix this wal_sync is updated so that
> now we can obtain up to date vclock on the flushed state using it.
> 
> Prerequisites #4160
> ---
>  src/box/relay.cc |  7 +++----
>  src/box/vinyl.c  |  4 ++--
>  src/box/wal.c    | 23 +++++++++++++++++------
>  src/box/wal.h    |  4 +++-
>  4 files changed, 25 insertions(+), 13 deletions(-)

I've checked your patch into master.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list