[PATCH v2 07/11] applier: inquire oldest vclock on connect

Konstantin Osipov kostja at tarantool.org
Wed Jun 13 23:51:39 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/06/08 20:38]:
> Introduce a new iproto command IPROTO_GET_GC_VCLOCK that returns the
> vclock of the oldest checkpoint available at the master. Use this
> command when applier is connected to set applier->gc_vclock. We will
> need it to check whether a replica fell too much behind its peers in
> the cluster and so needs to be rebootstrapped.

Why do you think it's better to have a separate command rather
than folding it into iproto_request_vote?


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list