Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/4] swim suspicion preparation
@ 2019-04-17 19:56 Vladislav Shpilevoy
  2019-04-17 19:56 ` [tarantool-patches] [PATCH 1/4] swim: move sockaddr_in checkers to swim_proto.h Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Vladislav Shpilevoy @ 2019-04-17 19:56 UTC (permalink / raw)
  To: tarantool-patches; +Cc: kostja

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)

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-04-18 18:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17 19:56 [tarantool-patches] [PATCH 0/4] swim suspicion preparation Vladislav Shpilevoy
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox