Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/6] Synchronous replication preparation
@ 2019-11-19 16:04 Georgy Kirichenko
  2019-11-19 16:04 ` [Tarantool-patches] [PATCH 1/6] recovery: do not throw an error Georgy Kirichenko
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Georgy Kirichenko @ 2019-11-19 16:04 UTC (permalink / raw)
  To: tarantool-patches

This patchset contains 6 patches and includes some refactoring
and synchronous replication preparation.

First three patches provides coio, recovery and xstream
refactoring which got rid of exceptions. This makes 
corresponding facilities C-compliant and enables its usage
from a wal source.

Fourth patch fixes a rare vinyl error which manifests itself while
transactional recovery as there is no data change and vy_tx log
tends to be empty.

Fifth patch improves recovery journal making them able to track
recovery vclock. This enables the last patch which implements
transactional recovery (either local wal including hot-standby or
final join). Transactional recovery is essential in case of
synchronous replication because this both sources (wal and final
join stream) would contain written but not yet committed
transaction and we will be in duty to recognize it.

Branch:
https://github.com/tarantool/tarantool/tree/g.kirichenko/gh-980-preparation
Issue:
https://github.com/tarantool/tarantool/issues/980

Georgy Kirichenko (6):
  recovery: do not throw an error
  coio: do not htrow an exception
  xstream: get rid of an exception
  vinyl: do not insert vy_tx twice into writers list
  box: improve recovery journal
  recovery: follow transaction boundaries while recovery or join

 src/box/applier.cc                     | 140 ++++++++--------
 src/box/box.cc                         | 119 ++++++++++----
 src/box/recovery.cc                    |  87 ++++++----
 src/box/recovery.h                     |  14 +-
 src/box/relay.cc                       |  47 +++---
 src/box/vy_tx.c                        |   2 +-
 src/box/xrow_io.cc                     |  59 +++----
 src/box/xrow_io.h                      |  11 +-
 src/box/xstream.cc                     |   7 +-
 src/box/xstream.h                      |   2 +-
 src/lib/core/coio.cc                   | 212 +++++++++++++------------
 src/lib/core/coio.h                    |  13 +-
 src/lib/core/coio_buf.h                |   8 +
 test/xlog-py/big_lsn.result            |   4 +
 test/xlog-py/big_lsn.test.py           |  13 +-
 test/xlog-py/dup_key.result            |   8 +
 test/xlog-py/dup_key.test.py           |   7 +
 test/xlog/panic_on_broken_lsn.result   |   9 +-
 test/xlog/panic_on_broken_lsn.test.lua |   7 +-
 19 files changed, 449 insertions(+), 320 deletions(-)

-- 
2.24.0

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

end of thread, other threads:[~2019-11-23 13:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 16:04 [Tarantool-patches] [PATCH 0/6] Synchronous replication preparation Georgy Kirichenko
2019-11-19 16:04 ` [Tarantool-patches] [PATCH 1/6] recovery: do not throw an error Georgy Kirichenko
2019-11-23 13:45   ` Vladislav Shpilevoy
2019-11-19 16:04 ` [Tarantool-patches] [PATCH 2/6] coio: do not htrow an exception Georgy Kirichenko
2019-11-23 13:45   ` Vladislav Shpilevoy
2019-11-19 16:04 ` [Tarantool-patches] [PATCH 3/6] xstream: get rid of " Georgy Kirichenko
2019-11-23 13:45   ` Vladislav Shpilevoy
2019-11-19 16:04 ` [Tarantool-patches] [PATCH 4/6] vinyl: do not insert vy_tx twice into writers list Georgy Kirichenko
2019-11-19 16:04 ` [Tarantool-patches] [PATCH 5/6] box: improve recovery journal Georgy Kirichenko
2019-11-23 13:46   ` Vladislav Shpilevoy
2019-11-19 16:04 ` [Tarantool-patches] [PATCH 6/6] recovery: follow transaction boundaries while recovery or join Georgy Kirichenko
2019-11-23 13:46   ` Vladislav Shpilevoy
2019-11-20 17:15 ` [Tarantool-patches] [PATCH 0/6] Synchronous replication preparation Konstantin Osipov
2019-11-23 13:45 ` Vladislav Shpilevoy

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