[tarantool-patches] [PATCH 0/2] SWIM generation

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Jun 21 00:23:23 MSK 2019


The patchset introduces SWIM generation - a persistent part of incarnation
used to detect restarts, and refute false gossips left from previous lifes of
an instance.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4280-swim-generation
Issue: https://github.com/tarantool/tarantool/issues/4280

Vladislav Shpilevoy (2):
  swim: encapsulate incarnation behind 'age'
  swim: introduce generation

 extra/exports               |   1 +
 src/lib/swim/swim.c         | 300 ++++++++++++++++++++++--------------
 src/lib/swim/swim.h         |  18 ++-
 src/lib/swim/swim_proto.c   |  77 ++++++---
 src/lib/swim/swim_proto.h   | 113 ++++++++++----
 src/lua/swim.c              |   3 +-
 src/lua/swim.lua            |  50 ++++--
 test/swim/swim.result       | 176 +++++++++++++++++----
 test/swim/swim.test.lua     |  38 +++++
 test/unit/swim.c            |  54 +++++--
 test/unit/swim.result       |  11 +-
 test/unit/swim_test_utils.c |  54 +++++--
 test/unit/swim_test_utils.h |  16 +-
 13 files changed, 657 insertions(+), 254 deletions(-)

-- 
2.20.1 (Apple Git-117)





More information about the Tarantool-patches mailing list