From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: kostja@tarantool.org
Subject: [tarantool-patches] Re: [PATCH 1/1] swim: keep encoded round message cached
Date: Wed, 10 Apr 2019 14:00:06 +0300 [thread overview]
Message-ID: <1dfbae6e-3078-eaa5-1bc3-bf436ae2d165@tarantool.org> (raw)
In-Reply-To: <573c97faff11b387566fd449c1d1dcbe3e644351.1554893660.git.v.shpilevoy@tarantool.org>
Sorry, forgot to attach one more hunk:
diff --git a/src/lib/swim/swim.c b/src/lib/swim/swim.c
index 8453295a5..2839f5681 100644
--- a/src/lib/swim/swim.c
+++ b/src/lib/swim/swim.c
@@ -713,6 +713,7 @@ swim_new_round(struct swim *swim)
/* -1 for self. */
say_verbose("SWIM %d: start a new round with %d members", swim_fd(swim),
size - 1);
+ cached_round_msg_invalidate(swim);
swim_shuffle_members(swim);
rlist_create(&swim->round_queue);
for (int i = 0; i < size; ++i) {
next prev parent reply other threads:[~2019-04-10 11:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 10:55 [tarantool-patches] " Vladislav Shpilevoy
2019-04-10 11:00 ` Vladislav Shpilevoy [this message]
2019-04-11 13:51 ` [tarantool-patches] " Konstantin Osipov
2019-04-11 16:09 ` Vladislav Shpilevoy
2019-04-11 16:24 ` Konstantin Osipov
2019-04-11 17:22 ` 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=1dfbae6e-3078-eaa5-1bc3-bf436ae2d165@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=kostja@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH 1/1] swim: keep encoded round message cached' \
/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