[Tarantool-patches] [PATCH 0/2] gc/xlog: delay xlog cleanup until relays are subscribed
Cyrill Gorcunov
gorcunov at gmail.com
Thu Mar 18 21:41:36 MSK 2021
Guys, take a look please once time permit.
issue https://github.com/tarantool/tarantool/issues/5806
branch gorcunov/gh-5806-xlog-gc
Cyrill Gorcunov (2):
gc/xlog: delay xlog cleanup until relays are subscribed
test: add a test for wal_cleanup_delay option
src/box/box.cc | 11 +
src/box/gc.c | 75 +++-
src/box/gc.h | 30 ++
src/box/lua/info.c | 8 +
src/box/lua/load_cfg.lua | 3 +
src/box/relay.cc | 20 ++
src/box/replication.cc | 2 +
test/app-tap/init_script.result | 1 +
test/box/admin.result | 2 +
test/box/cfg.result | 4 +
test/replication/gh-5806-master.lua | 13 +
test/replication/gh-5806-slave.lua | 13 +
test/replication/gh-5806-xlog-cleanup.result | 336 ++++++++++++++++++
.../replication/gh-5806-xlog-cleanup.test.lua | 148 ++++++++
14 files changed, 663 insertions(+), 3 deletions(-)
create mode 100644 test/replication/gh-5806-master.lua
create mode 100644 test/replication/gh-5806-slave.lua
create mode 100644 test/replication/gh-5806-xlog-cleanup.result
create mode 100644 test/replication/gh-5806-xlog-cleanup.test.lua
base-commit: a0ade20662e0d55c912a72656e6dc75defd7c7f4
--
2.30.2
More information about the Tarantool-patches
mailing list