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/2] SWIM generation
Date: Thu, 20 Jun 2019 23:23:23 +0200	[thread overview]
Message-ID: <cover.1561065646.git.v.shpilevoy@tarantool.org> (raw)

The patchset introduces SWIM generation - a persistent part of incarnation
used to detect restarts, and refute false gossips left from previous lifes of
an instance.

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

Vladislav Shpilevoy (2):
  swim: encapsulate incarnation behind 'age'
  swim: introduce generation

 extra/exports               |   1 +
 src/lib/swim/swim.c         | 300 ++++++++++++++++++++++--------------
 src/lib/swim/swim.h         |  18 ++-
 src/lib/swim/swim_proto.c   |  77 ++++++---
 src/lib/swim/swim_proto.h   | 113 ++++++++++----
 src/lua/swim.c              |   3 +-
 src/lua/swim.lua            |  50 ++++--
 test/swim/swim.result       | 176 +++++++++++++++++----
 test/swim/swim.test.lua     |  38 +++++
 test/unit/swim.c            |  54 +++++--
 test/unit/swim.result       |  11 +-
 test/unit/swim_test_utils.c |  54 +++++--
 test/unit/swim_test_utils.h |  16 +-
 13 files changed, 657 insertions(+), 254 deletions(-)

-- 
2.20.1 (Apple Git-117)

             reply	other threads:[~2019-06-20 21:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-20 21:23 Vladislav Shpilevoy [this message]
2019-06-20 21:23 ` [tarantool-patches] [PATCH 1/2] swim: encapsulate incarnation behind 'age' Vladislav Shpilevoy
2019-06-20 21:23 ` [tarantool-patches] [PATCH 2/2] swim: introduce generation Vladislav Shpilevoy
2019-06-21  6:53   ` [tarantool-patches] " Konstantin Osipov
2019-06-21 19:03     ` Vladislav Shpilevoy
2019-06-21 19:48       ` Konstantin Osipov
2019-06-21 19:53         ` Konstantin Osipov
2019-06-21 22:00           ` Vladislav Shpilevoy
2019-06-21 22:31             ` 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.1561065646.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/2] SWIM generation' \
    /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