[Tarantool-patches] [RFC] gc/xlog: delay xlog cleanup until relays are subscribed

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 18 00:53:16 MSK 2021


On Thu, Mar 18, 2021 at 12:23:50AM +0300, Konstantin Osipov wrote:
> * Cyrill Gorcunov via Tarantool-patches <tarantool-patches at dev.tarantool.org> [21/03/17 22:01]:
>
> > In case if replica managed to be far behind the master node
> > (so there are a number of xlog files present after the last
> > master's snapshot) then once master node get restarted it
> > may clean up the xlogs needed by the replica to subscribe
> > in a fast way and instead the replica will have to rejoin
> > reading a number of data back.
> 
> Should be in 1.10 as well.

Sure, but first I need to be sure if current rfc is acceptable
in general and I didn't miss something. I suspect we might
need to extend this code and better to not make some design
mistakes which gonna be hard to resolve later. I've a test
case for this simply didn't posted it yet.


More information about the Tarantool-patches mailing list