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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Jun 23 00:18:19 MSK 2019


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

Changes in V2:
- Rename age.incarnation -> age.version.
- Rename struct swim_age -> struct swim_incarnation.
- Keep incarnation is a monolithic object, even in Lua.

V1: https://www.freelists.org/post/tarantool-patches/PATCH-02-SWIM-generation

Vladislav Shpilevoy (2):
  swim: make incarnation struct
  swim: introduce incarnation.generation

 src/lib/swim/swim.c           | 178 ++++++++++++++++++++++++----------
 src/lib/swim/swim.h           |  18 ++--
 src/lib/swim/swim_constants.h |  40 ++++++++
 src/lib/swim/swim_proto.c     |  95 +++++++++++++-----
 src/lib/swim/swim_proto.h     |  84 ++++++++++------
 src/lua/swim.c                |   3 +-
 src/lua/swim.lua              |  58 +++++++++--
 test/swim/swim.result         | 144 +++++++++++++++++++++------
 test/swim/swim.test.lua       |  36 +++++++
 test/unit/swim.c              | 112 ++++++++++++++-------
 test/unit/swim.result         |  34 ++++---
 test/unit/swim_test_utils.c   |  35 ++++---
 test/unit/swim_test_utils.h   |   8 +-
 13 files changed, 634 insertions(+), 211 deletions(-)

-- 
2.20.1 (Apple Git-117)





More information about the Tarantool-patches mailing list