[tarantool-patches] [PATCH 0/5] SWIM bug fixes

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed May 22 22:52:16 MSK 2019


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)





More information about the Tarantool-patches mailing list