[tarantool-patches] [PATCH 0/6] swim payload

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Apr 12 01:22:24 MSK 2019


The patchset introduces SWIM payload feature with a long tail of preliminary
patches. First 3 of them are just refactoring.

Next two patches strongly reworks SWIM tests' fake file descriptors filtering in
order to make payload tests much simpler and faster than they could be without
new filtering system.

The last patch is a key one, and introduces the payload.

Although it is worth noting, that I consider the patchset as rather raw. So it
should not be pushed, in any part. Only reviewed.

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

Vladislav Shpilevoy (6):
  swim: factor out MP_BIN decoding from swim_decode_uuid
  swim: replace event_bin and member_bin with the passport
  swim: factor out 'update' part of swim_member_upsert()
  test: generalize SWIM fake descriptor filters
  test: introduce new SWIM packet filter by component names
  swim: introduce payload

 src/lib/swim/swim.c             | 225 ++++++++++++++++++++++++++------
 src/lib/swim/swim.h             |   8 ++
 src/lib/swim/swim_proto.c       |  94 +++++++------
 src/lib/swim/swim_proto.h       |  87 ++++++------
 test/unit/swim.c                | 216 +++++++++++++++++++++++++++---
 test/unit/swim.result           |  32 ++++-
 test/unit/swim_test_transport.c | 133 +++++++++++++++----
 test/unit/swim_test_transport.h |  41 +++++-
 test/unit/swim_test_utils.c     | 184 +++++++++++++++++++++++++-
 test/unit/swim_test_utils.h     |  45 +++++++
 10 files changed, 897 insertions(+), 168 deletions(-)

-- 
2.17.2 (Apple Git-113)





More information about the Tarantool-patches mailing list