[Tarantool-patches] [RFC] gc/xlog: delay xlog cleanup until relays are subscribed
Konstantin Osipov
kostja.osipov at gmail.com
Thu Mar 18 10:51:27 MSK 2021
* Cyrill Gorcunov <gorcunov at gmail.com> [21/03/18 10:42]:
> Good point, thanks! Kostya, lets clarify some moments:
>
> 1) We introduce "wal_keep_logs" option which defines
> a timeout to kick the cleanup fiber.
> 2) If node is anonymous replica we simply ignore this
> option.
> 3) If this option is set then we have a few subcases:
> a) The `_cluster` space is not empty thus thus once
> all replicas are subscribed _before_ the timeout
> expired we trigger the cleanup fiber since it is
> safe to process;
> b) If replicas are not connected and timeout is
> expired we kick the cleanup fiber;
I mean this.
> Or you mean to always conside "wal_keep_logs" option
> and never trigger the cleanup until it get expired?
No.
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list