[tarantool-patches] Re: [PATCH 1/1] swim: keep encoded round message cached

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Apr 10 14:00:06 MSK 2019


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) {




More information about the Tarantool-patches mailing list