[tarantool-patches] [PATCH 0/5] swim lua preparation

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed May 1 01:31:22 MSK 2019


The patchset mainly consists of bug fixes appeared when real libev started to
work instead of the fake event loop used in the unit tests.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-lua-preparation
Issue: https://github.com/tarantool/tarantool/issues/3234

Vladislav Shpilevoy (5):
  swim: do not use ev_timer_start
  swim: introduce member reference API
  sio: return 'no host' flag from sio_uri_to_addr()
  swim: allow to omit host in URI
  swim: explicitly stop old ev_io input/output on rebind

 src/lib/core/sio.c            |  3 +-
 src/lib/core/sio.h            |  2 +-
 src/lib/swim/swim.c           | 69 +++++++++++++++++++++++------------
 src/lib/swim/swim.h           | 24 ++++++++----
 src/lib/swim/swim_constants.h |  5 +++
 src/lib/swim/swim_ev.c        |  6 +++
 src/lib/swim/swim_ev.h        |  3 ++
 src/lib/swim/swim_io.c        | 19 ++++++----
 src/lib/swim/swim_proto.c     |  2 +-
 test/unit/sio.c               | 29 ++++++++++-----
 test/unit/sio.result          | 32 +++++++++-------
 test/unit/swim.c              | 13 ++++++-
 test/unit/swim.result         |  3 +-
 test/unit/swim_test_ev.c      | 11 ++++++
 14 files changed, 154 insertions(+), 67 deletions(-)

-- 
2.20.1 (Apple Git-117)





More information about the Tarantool-patches mailing list