[Tarantool-patches] [RAFT 00/10] raft implementation

Serge Petrenko sergepetrenko at tarantool.org
Wed Aug 26 10:52:32 MSK 2020


From: sergepetrenko <sergepetrenko at 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)



More information about the Tarantool-patches mailing list