From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5413F2F48B for ; Wed, 22 May 2019 15:52:30 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bvTBdIsnlasv for ; Wed, 22 May 2019 15:52:30 -0400 (EDT) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id EC21A2F242 for ; Wed, 22 May 2019 15:52:29 -0400 (EDT) From: Vladislav Shpilevoy Subject: [tarantool-patches] [PATCH 0/5] SWIM bug fixes Date: Wed, 22 May 2019 22:52:16 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org This patchset consists of quite independent fixes related to leaks, segfaults, and flaky tests discovered by simultaneous run of swim/swim.test.lua in 100-1000 tasks. Branch: http://github.com/tarantool/tarantool/tree/gerold103/swim-memory-fixes Vladislav Shpilevoy (5): swim: fix an obvious leak in swim_delete() swim: fix an obvious use-after-free swim: fix flaky parts in swim/swim.test.lua swim: be ready to idle round steps when net is slow swim: allow to set codec before cfg src/lib/swim/swim.c | 23 +++++++++++++++-- src/lua/swim.lua | 1 + test/swim/box.lua | 22 ++++++++++++++++ test/swim/swim.result | 55 +++++++++++++++++----------------------- test/swim/swim.test.lua | 34 ++++++++++++------------- test/unit/swim.c | 20 ++++++++++++++- test/unit/swim.result | 7 ++++- test/unit/swim_test_ev.c | 10 ++++++-- 8 files changed, 116 insertions(+), 56 deletions(-) -- 2.20.1 (Apple Git-117)