Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: kostja@tarantool.org
Subject: [tarantool-patches] [PATCH 0/4] swim suspicion preparation
Date: Wed, 17 Apr 2019 22:56:33 +0300	[thread overview]
Message-ID: <cover.1555530516.git.v.shpilevoy@tarantool.org> (raw)

This is a set of preparatory patches for SWIM suspicion mechanism - the last
SWIM's native component.

First two patches are pure refactoring to make the code more reusable.

Next third patch fixes a bug about invalidation of a round message when it is
scheduled for sending but is not actually sent. It led to sending empty packets
when the kernel slowly generates output events.

The fourth commit fixes a bug made round packet cache working not in full power.

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

Vladislav Shpilevoy (4):
  swim: move sockaddr_in checkers to swim_proto.h
  swim: extract binary ip/port into a separate struct
  swim: fix a bug with invalidation of round msg in fly
  swim: do not rebuild packet meta multiple times

 src/lib/swim/swim.c       | 32 +++++++++-------
 src/lib/swim/swim_io.c    | 29 +++++++++++++--
 src/lib/swim/swim_proto.c | 77 +++++++++++++++++++++++++++------------
 src/lib/swim/swim_proto.h | 70 ++++++++++++++++++++++++-----------
 4 files changed, 146 insertions(+), 62 deletions(-)

-- 
2.17.2 (Apple Git-113)

             reply	other threads:[~2019-04-17 19:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-17 19:56 Vladislav Shpilevoy [this message]
2019-04-17 19:56 ` [tarantool-patches] [PATCH 1/4] swim: move sockaddr_in checkers to swim_proto.h Vladislav Shpilevoy
2019-04-18 11:35   ` [tarantool-patches] " Vladislav Shpilevoy
2019-04-18 15:16     ` Konstantin Osipov
2019-04-18 15:24       ` Vladislav Shpilevoy
2019-04-18 16:02         ` Konstantin Osipov
2019-04-18 18:34           ` Vladislav Shpilevoy
2019-04-18 15:15   ` Konstantin Osipov
2019-04-17 19:56 ` [tarantool-patches] [PATCH 2/4] swim: extract binary ip/port into a separate struct Vladislav Shpilevoy
2019-04-18 15:17   ` [tarantool-patches] " Konstantin Osipov
2019-04-18 18:34     ` Vladislav Shpilevoy
2019-04-17 19:56 ` [tarantool-patches] [PATCH 3/4] swim: fix a bug with invalidation of round msg in fly Vladislav Shpilevoy
2019-04-18 15:19   ` [tarantool-patches] " Konstantin Osipov
2019-04-18 18:34     ` Vladislav Shpilevoy
2019-04-17 19:56 ` [tarantool-patches] [PATCH 4/4] swim: do not rebuild packet meta multiple times Vladislav Shpilevoy
2019-04-18 17:23   ` [tarantool-patches] " Konstantin Osipov
2019-04-18 18:34     ` Vladislav Shpilevoy

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.1555530516.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/4] swim suspicion preparation' \
    /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