From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 544922A4EE for ; Wed, 20 Mar 2019 06:49:23 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pz5pKlaOz4ee for ; Wed, 20 Mar 2019 06:49:23 -0400 (EDT) Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 7540F2A4D5 for ; Wed, 20 Mar 2019 06:49:22 -0400 (EDT) From: Vladislav Shpilevoy Subject: [tarantool-patches] [PATCH 0/6] SWIM failure detection draft Date: Wed, 20 Mar 2019 13:49:13 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org It is a second series of patches about SWIM protocol implementation. This one contains some follow-ups for the previous patchset about anti-entropy component, preparations for the failure detection component, and the latter itself. Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-failure-detection Issue: https://github.com/tarantool/tarantool/issues/3234 Vladislav Shpilevoy (6): swim: follow-ups for SWIM anti-entropy test: introduce breakpoints for swim's event loop test: remove swim_unblock_fd event from swim test harness swim: expose enum swim_member_status to public API test: differentiate blocked and closed swim fake fds [RAW] swim: introduce failure detection component src/lib/swim/swim.c | 479 ++++++++++++++++++++++++++++++-- src/lib/swim/swim.h | 42 ++- src/lib/swim/swim_io.c | 32 ++- src/lib/swim/swim_io.h | 22 +- src/lib/swim/swim_proto.c | 83 +++++- src/lib/swim/swim_proto.h | 115 +++++++- test/unit/swim.c | 189 +++++++++++-- test/unit/swim.result | 62 ++++- test/unit/swim_test_ev.c | 46 ++- test/unit/swim_test_ev.h | 8 +- test/unit/swim_test_transport.c | 78 ++++-- test/unit/swim_test_transport.h | 9 + test/unit/swim_test_utils.c | 139 ++++++++- test/unit/swim_test_utils.h | 48 +++- 14 files changed, 1219 insertions(+), 133 deletions(-) -- 2.17.2 (Apple Git-113)