Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 0/6] WAL garbage collection and checkpointing fixes
@ 2018-11-25 13:48 Vladimir Davydov
  2018-11-25 13:48 ` [PATCH 1/6] vclock: allow to use const vclock as search key Vladimir Davydov
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Vladimir Davydov @ 2018-11-25 13:48 UTC (permalink / raw)
  To: kostja; +Cc: tarantool-patches

This patch set fixes a couple of issues related to WAL checkpointing and
garbage collection (see [1, 2]) and does some refactoring necessary for
implementation of checkpoint-on-WAL-threshold feature (see [3]).
The branch with the code is available at [4].

[1] https://github.com/tarantool/tarantool/issues/3822
[2] https://github.com/tarantool/tarantool/issues/3830
[3] https://github.com/tarantool/tarantool/issues/1082
[4] https://github.com/tarantool/tarantool/commits/dv/wal-gc-fixes

Vladimir Davydov (6):
  vclock: allow to use const vclock as search key
  engine: pass vclock instead of lsn to collect_garbage callback
  box: do not rotate WAL when replica subscribes
  box: use replicaset.vclock in replica join/subscribe
  wal: separate checkpoint and flush paths
  wal: remove files needed for recovery from backup checkpoints on
    ENOSPC

 src/box/box.cc                                     |  45 +++---
 src/box/engine.c                                   |   9 +-
 src/box/engine.h                                   |   9 +-
 src/box/gc.c                                       |  22 +--
 src/box/gc.h                                       |  14 --
 src/box/memtx_engine.c                             |   5 +-
 src/box/vclock.c                                   |   4 +-
 src/box/vclock.h                                   |   5 +-
 src/box/vinyl.c                                    |  14 +-
 src/box/vy_log.c                                   |  36 ++---
 src/box/vy_log.h                                   |   4 +-
 src/box/wal.c                                      | 171 ++++++++++++---------
 src/box/wal.h                                      |  34 ++--
 test/replication/gc.result                         |   8 +-
 test/replication/gc.test.lua                       |   6 +-
 test/replication/gc_no_space.result                |  51 +++++-
 test/replication/gc_no_space.test.lua              |  27 +++-
 test/replication/show_error_on_disconnect.result   |  12 +-
 test/replication/show_error_on_disconnect.test.lua |  10 +-
 test/replication/sync.result                       |  37 +++++
 test/replication/sync.test.lua                     |  12 ++
 21 files changed, 326 insertions(+), 209 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-11-28 16:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-25 13:48 [PATCH 0/6] WAL garbage collection and checkpointing fixes Vladimir Davydov
2018-11-25 13:48 ` [PATCH 1/6] vclock: allow to use const vclock as search key Vladimir Davydov
2018-11-26 17:38   ` Konstantin Osipov
2018-11-27  9:56     ` Vladimir Davydov
2018-11-25 13:48 ` [PATCH 2/6] engine: pass vclock instead of lsn to collect_garbage callback Vladimir Davydov
2018-11-26 17:41   ` Konstantin Osipov
2018-11-27  9:56     ` Vladimir Davydov
2018-11-25 13:48 ` [PATCH 3/6] box: do not rotate WAL when replica subscribes Vladimir Davydov
2018-11-26 17:50   ` Konstantin Osipov
2018-11-27  9:57     ` Vladimir Davydov
2018-11-25 13:48 ` [PATCH 4/6] box: use replicaset.vclock in replica join/subscribe Vladimir Davydov
2018-11-26 17:54   ` Konstantin Osipov
2018-11-27  9:57     ` Vladimir Davydov
2018-11-25 13:48 ` [PATCH 5/6] wal: separate checkpoint and flush paths Vladimir Davydov
2018-11-26 17:58   ` Konstantin Osipov
2018-11-26 20:19     ` Vladimir Davydov
2018-11-28 16:46       ` Konstantin Osipov
2018-11-25 13:48 ` [PATCH 6/6] wal: remove files needed for recovery from backup checkpoints on ENOSPC Vladimir Davydov
2018-11-28 16:14   ` Vladimir Davydov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox