Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 0/6] Introduce replica local spaces
@ 2018-06-13 16:10 Vladimir Davydov
  2018-06-13 16:10 ` [PATCH 1/6] txn: remove unused C++ wrappers Vladimir Davydov
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Vladimir Davydov @ 2018-06-13 16:10 UTC (permalink / raw)
  To: kostja; +Cc: tarantool-patches

This patch introduces a new space option, is_local, which if specified
on space creation will render all changes done locally to the space
invisible to other replicas (see #3443). This is required for making
garbage collection state persistent (see #3442). For implementation
details, see patch 6.

https://github.com/tarantool/tarantool/issues/3442
https://github.com/tarantool/tarantool/issues/3443
https://github.com/tarantool/tarantool/commits/gh-3443-replica-local-spaces

Vladimir Davydov (6):
  txn: remove unused C++ wrappers
  xrow: fix ret code on decode failure
  iproto: fix IPROTO_SERVER_IS_RO key code
  txn: do not require space id for nop requests
  xrow: make NOP requests bodiless
  Introduce replica local spaces

 src/box/alter.cc                       |   4 +
 src/box/box.cc                         |   6 +-
 src/box/iproto_constants.c             |   9 +-
 src/box/iproto_constants.h             |   3 +-
 src/box/lua/schema.lua                 |   9 +-
 src/box/lua/space.cc                   |   5 ++
 src/box/lua/xlog.c                     |  20 +++--
 src/box/memtx_engine.c                 |   8 +-
 src/box/relay.cc                       |  17 +++-
 src/box/request.c                      |   2 +-
 src/box/space.h                        |  12 ++-
 src/box/space_def.c                    |   2 +
 src/box/space_def.h                    |   5 ++
 src/box/txn.c                          | 102 +++++++++++++--------
 src/box/txn.h                          |  37 +++-----
 src/box/vinyl.c                        |   5 ++
 src/box/xrow.c                         |  48 ++++++----
 src/box/xrow.h                         |   1 +
 test/box/before_replace.result         |   2 +-
 test/box/before_replace.test.lua       |   2 +-
 test/engine/iterator.result            |   2 +-
 test/replication/local_spaces.result   | 159 +++++++++++++++++++++++++++++++++
 test/replication/local_spaces.test.lua |  54 +++++++++++
 test/replication/suite.cfg             |   1 +
 test/vinyl/ddl.result                  |   5 ++
 test/vinyl/ddl.test.lua                |   3 +
 26 files changed, 420 insertions(+), 103 deletions(-)
 create mode 100644 test/replication/local_spaces.result
 create mode 100644 test/replication/local_spaces.test.lua

-- 
2.11.0

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

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

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 16:10 [PATCH 0/6] Introduce replica local spaces Vladimir Davydov
2018-06-13 16:10 ` [PATCH 1/6] txn: remove unused C++ wrappers Vladimir Davydov
2018-06-27 17:08   ` Konstantin Osipov
2018-06-13 16:10 ` [PATCH 2/6] xrow: fix ret code on decode failure Vladimir Davydov
2018-06-27 17:29   ` Konstantin Osipov
2018-06-13 16:10 ` [PATCH 3/6] iproto: fix IPROTO_SERVER_IS_RO key code Vladimir Davydov
2018-06-27 17:48   ` Konstantin Osipov
2018-06-13 16:10 ` [PATCH 4/6] txn: do not require space id for nop requests Vladimir Davydov
2018-06-27 17:45   ` Konstantin Osipov
2018-06-28  9:13     ` Vladimir Davydov
2018-06-28 10:23       ` Konstantin Osipov
2018-06-28 10:35         ` Vladimir Davydov
2018-06-28 10:54           ` Konstantin Osipov
2018-06-28 11:10             ` Vladimir Davydov
2018-06-13 16:10 ` [PATCH 5/6] xrow: make NOP requests bodiless Vladimir Davydov
2018-06-27 17:49   ` Konstantin Osipov
2018-06-13 16:10 ` [PATCH 6/6] Introduce replica local spaces Vladimir Davydov
2018-06-13 21:26   ` [tarantool-patches] " Vladislav Shpilevoy
2018-06-27 18:24   ` Konstantin Osipov
2018-06-27 18:27   ` Konstantin Osipov

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