From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@freelists.org Cc: kostja@tarantool.org Subject: [tarantool-patches] [PATCH 0/6] swim suspicion Date: Wed, 24 Apr 2019 17:36:14 +0300 [thread overview] Message-ID: <cover.1556116199.git.v.shpilevoy@tarantool.org> (raw) For details of the suspicion component look at the last commit. Here is a description of the patchset in whole. Most of the commits are preparatory patches to make suspicion introduction smoother. First 4 commits refactor the code so as to make it more readable, to simplify writing new tests. Next to the last patch about routing is in fact the key part of the patchset. It introduces new section in SWIM packets for routes. Route is a pair: source and destination addresses. With help of the routing it becomes possible to send any SWIM packets indirectly via arbitrary SWIM member to another member. The last commit just harnesses routing section to send the same ping/ack messages, but indirectly after several direct attempts. Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-suspicion Issue: https://github.com/tarantool/tarantool/issues/3234 Vladislav Shpilevoy (6): test: rename swim_cluster_node to swim_cluster_member test: remove swim packet filter destructors test: introduce swim packet filter by destination address swim: wrap sio_strfaddr() swim: introduce routing swim: introduce suspicion src/lib/swim/swim.c | 257 +++++++++++++++++++++++++--- src/lib/swim/swim_constants.h | 6 + src/lib/swim/swim_io.c | 99 +++++++++-- src/lib/swim/swim_io.h | 15 +- src/lib/swim/swim_proto.c | 92 +++++++++- src/lib/swim/swim_proto.h | 72 +++++++- test/unit/swim.c | 104 ++++++++---- test/unit/swim.result | 30 ++-- test/unit/swim_proto.c | 56 ++++++- test/unit/swim_proto.result | 11 +- test/unit/swim_test_transport.c | 24 +-- test/unit/swim_test_transport.h | 17 +- test/unit/swim_test_utils.c | 288 ++++++++++++++++++++++++-------- test/unit/swim_test_utils.h | 13 +- 14 files changed, 903 insertions(+), 181 deletions(-) -- 2.20.1 (Apple Git-117)
next reply other threads:[~2019-04-24 14:36 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-24 14:36 Vladislav Shpilevoy [this message] 2019-04-24 14:36 ` [tarantool-patches] [PATCH 1/6] test: rename swim_cluster_node to swim_cluster_member Vladislav Shpilevoy 2019-04-24 16:37 ` [tarantool-patches] " Konstantin Osipov 2019-04-24 14:36 ` [tarantool-patches] [PATCH 2/6] test: remove swim packet filter destructors Vladislav Shpilevoy 2019-04-24 16:37 ` [tarantool-patches] " Konstantin Osipov 2019-04-24 14:36 ` [tarantool-patches] [PATCH 3/6] test: introduce swim packet filter by destination address Vladislav Shpilevoy 2019-04-24 16:38 ` [tarantool-patches] " Konstantin Osipov 2019-04-24 14:36 ` [tarantool-patches] [PATCH 4/6] swim: wrap sio_strfaddr() Vladislav Shpilevoy 2019-04-24 16:40 ` [tarantool-patches] " Konstantin Osipov 2019-04-24 20:23 ` Vladislav Shpilevoy 2019-04-25 10:34 ` Konstantin Osipov 2019-04-25 13:50 ` Vladislav Shpilevoy 2019-04-24 14:36 ` [tarantool-patches] [PATCH 5/6] swim: introduce routing Vladislav Shpilevoy 2019-04-24 16:46 ` [tarantool-patches] " Konstantin Osipov 2019-04-24 20:25 ` Vladislav Shpilevoy 2019-04-25 10:39 ` Konstantin Osipov 2019-04-25 13:50 ` Vladislav Shpilevoy 2019-04-25 13:57 ` Konstantin Osipov 2019-04-24 14:36 ` [tarantool-patches] [PATCH 6/6] swim: introduce suspicion Vladislav Shpilevoy 2019-04-24 17:01 ` [tarantool-patches] " Konstantin Osipov 2019-04-24 20:28 ` Vladislav Shpilevoy 2019-04-25 10:42 ` Konstantin Osipov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1556116199.git.v.shpilevoy@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=kostja@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH 0/6] swim suspicion' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox