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

Konstantin Osipov kostja.osipov at gmail.com
Tue Oct 29 20:02:19 MSK 2019


* 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


More information about the Tarantool-patches mailing list