[Tarantool-patches] [PATCH v3] replication: fix join vclock obtainment in relay_initial_join

Ilya Kosarev i.kosarev at tarantool.org
Wed Oct 30 00:20:24 MSK 2019


Right. Sent fixed patch in reply.


>Вторник, 29 октября 2019, 20:02 +03:00 от Konstantin Osipov <kostja.osipov at gmail.com>:
>
>* Ilya Kosarev < i.kosarev at tarantool.org > [19/10/29 19:59]:
>> join_vclock test could fail on huge load due to vclock advance
>> comparing to an actual WAL. In order to fix this we updated wal_sync so
>> that now we can obtain up to date vclock on the flushed state using it.
>> It is also better to get max index and index count in single request in
>> join_vclock test. With fixes mentioned above it is not fragile anymore.
>
> I suggest we copy vclock. it's not a good idea to make the two
> threads depend on each other on memory. the relay thread may be
> cancelled while the messasge is in the wal thread.
>
>
>-- 
>Konstantin Osipov, Moscow, Russia


-- 
Ilya Kosarev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20191030/aa83915d/attachment.html>


More information about the Tarantool-patches mailing list