Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [RAFT 00/10] raft implementation
@ 2020-08-26  7:52 Serge Petrenko
  2020-08-26  7:52 ` [Tarantool-patches] [RAFT 01/10] raft: introduce persistent raft state Serge Petrenko
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Serge Petrenko @ 2020-08-26  7:52 UTC (permalink / raw)
  To: v.shpilevoy, gorcunov, sergos; +Cc: tarantool-patches

From: sergepetrenko <sergepetrenko@tarantool.org>

The patchset contains current part of raft implementation: persistent
raft state and raft status messages broadcasting together with some follow-up
fixes. The raft state machine still has to be implemented.

Vladislav Shpilevoy (9):
  raft: introduce persistent raft state
  [tosquash] raft: return raft_request to xrow
  [tosquash] raft: introduce IPROTO_RAFT_VCLOCK
  [tosquash] xrow: refactor raft request codec
  [tosquash] raft: don't fill raft_request manually
  [tosquash] raft: rename curr_leader to leader
  [tosquash] raft: rename raft_process to raft_process_recovery
  [tosquash] applier: handler error at raft row appliance
  [tosquash] relay: move raft broadcast details into relay

sergepetrenko (1):
  raft: relay status updates to followers

 src/box/CMakeLists.txt     |   1 +
 src/box/applier.cc         |  35 ++++++-
 src/box/box.cc             |  23 ++++-
 src/box/iproto_constants.h |  15 +++
 src/box/lua/misc.cc        |  35 +++++++
 src/box/memtx_engine.c     |  40 ++++++++
 src/box/raft.c             | 181 +++++++++++++++++++++++++++++++++++++
 src/box/raft.h             |  81 +++++++++++++++++
 src/box/relay.cc           |  62 ++++++++++++-
 src/box/relay.h            |   9 ++
 src/box/xrow.c             | 113 +++++++++++++++++++++++
 src/box/xrow.h             |  15 +++
 12 files changed, 603 insertions(+), 7 deletions(-)
 create mode 100644 src/box/raft.c
 create mode 100644 src/box/raft.h

-- 
2.20.1 (Apple Git-117)

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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26  7:52 [Tarantool-patches] [RAFT 00/10] raft implementation Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 01/10] raft: introduce persistent raft state Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 02/10] raft: relay status updates to followers Serge Petrenko
2020-08-27 20:36   ` Vladislav Shpilevoy
2020-08-28 10:10     ` Sergey Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 03/10] [tosquash] raft: return raft_request to xrow Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 04/10] [tosquash] raft: introduce IPROTO_RAFT_VCLOCK Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 05/10] [tosquash] xrow: refactor raft request codec Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 06/10] [tosquash] raft: don't fill raft_request manually Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 07/10] [tosquash] raft: rename curr_leader to leader Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 08/10] [tosquash] raft: rename raft_process to raft_process_recovery Serge Petrenko
2020-08-26  7:52 ` [Tarantool-patches] [RAFT 09/10] [tosquash] applier: handler error at raft row appliance Serge Petrenko
2020-08-26  7:53 ` [Tarantool-patches] [RAFT 10/10] [tosquash] relay: move raft broadcast details into relay Serge Petrenko

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