Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 00/11] SWIM preparation
@ 2018-11-30 15:39 Vladislav Shpilevoy
  2018-11-30 15:39 ` [PATCH 01/11] box: move info_handler interface into src/info Vladislav Shpilevoy
                   ` (11 more replies)
  0 siblings, 12 replies; 37+ messages in thread
From: Vladislav Shpilevoy @ 2018-11-30 15:39 UTC (permalink / raw)
  To: tarantool-patches; +Cc: vdavydov.dev

SWIM is going to use evio to bind to an address, specified by a
user. Evio encapsulates bind/rebind, diagnostics, socket family.

But evio is C++ and SWIM is C. The patchset converts evio to C
alongside with sio, which is used in evio.

During conversion several not critical bugs were found and fixed
in separate commits.

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

Vladislav Shpilevoy (11):
  box: move info_handler interface into src/info
  sio: remove unused functions, restyle code
  sio: remove exceptions
  sio: fix passing negative size_t to sio_add_to_iov
  sio: turn into C
  evio: make on_accept be nothrow
  coio: fix file descriptor leak on accept
  coio: fix double close of a file descriptor
  evio: refactoring
  evio: remove exceptions
  evio: turn into C

 src/CMakeLists.txt      |   5 +-
 src/box/iproto.cc       |  89 ++++---
 src/box/lua/index.c     |   4 +-
 src/box/lua/info.c      |  78 +-----
 src/box/lua/sql.c       |   4 +-
 src/box/lua/stat.c      |   4 +-
 src/box/sql.c           |   2 +-
 src/coio.cc             |  88 ++++---
 src/{evio.cc => evio.c} | 307 ++++++++++-------------
 src/evio.h              |  77 +++---
 src/exception.h         |   2 +-
 src/{box => }/info.h    |  84 ++++---
 src/lua/info.c          | 118 +++++++++
 src/lua/info.h          |  49 ++++
 src/sio.c               | 356 +++++++++++++++++++++++++++
 src/sio.cc              | 529 ----------------------------------------
 src/sio.h               | 194 ++++++++++-----
 17 files changed, 984 insertions(+), 1006 deletions(-)
 rename src/{evio.cc => evio.c} (55%)
 rename src/{box => }/info.h (72%)
 create mode 100644 src/lua/info.c
 create mode 100644 src/lua/info.h
 create mode 100644 src/sio.c
 delete mode 100644 src/sio.cc

-- 
2.17.2 (Apple Git-113)

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2018-12-05  8:52 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-30 15:39 [PATCH 00/11] SWIM preparation Vladislav Shpilevoy
2018-11-30 15:39 ` [PATCH 01/11] box: move info_handler interface into src/info Vladislav Shpilevoy
2018-12-03 11:05   ` Vladimir Davydov
2018-12-03 21:48     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-03 20:41   ` [tarantool-patches] " Konstantin Osipov
2018-12-03 21:48     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-04  8:52       ` Vladimir Davydov
2018-11-30 15:39 ` [PATCH 10/11] evio: remove exceptions Vladislav Shpilevoy
2018-11-30 15:39 ` [PATCH 11/11] evio: turn into C Vladislav Shpilevoy
2018-11-30 15:39 ` [PATCH 02/11] sio: remove unused functions, restyle code Vladislav Shpilevoy
2018-12-03 12:28   ` Vladimir Davydov
2018-12-04 21:29     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-05  8:41       ` Vladimir Davydov
2018-11-30 15:39 ` [PATCH 03/11] sio: remove exceptions Vladislav Shpilevoy
2018-12-03 12:36   ` Vladimir Davydov
2018-12-04 21:29     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-05  8:42       ` Vladimir Davydov
2018-11-30 15:39 ` [PATCH 04/11] sio: fix passing negative size_t to sio_add_to_iov Vladislav Shpilevoy
2018-12-03 13:50   ` Vladimir Davydov
2018-12-04 21:29     ` Vladislav Shpilevoy
2018-12-05  8:48       ` Vladimir Davydov
2018-11-30 15:39 ` [PATCH 05/11] sio: turn into C Vladislav Shpilevoy
2018-11-30 15:39 ` [PATCH 06/11] evio: make on_accept be nothrow Vladislav Shpilevoy
2018-12-03 14:58   ` Vladimir Davydov
2018-12-04 21:29     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-05  8:52       ` Vladimir Davydov
2018-11-30 15:39 ` [PATCH 07/11] coio: fix file descriptor leak on accept Vladislav Shpilevoy
2018-12-03 16:16   ` Vladimir Davydov
2018-12-04 21:29     ` [tarantool-patches] " Vladislav Shpilevoy
2018-11-30 15:39 ` [PATCH 08/11] coio: fix double close of a file descriptor Vladislav Shpilevoy
2018-12-03 16:19   ` Vladimir Davydov
2018-12-04 21:29     ` [tarantool-patches] " Vladislav Shpilevoy
2018-11-30 15:39 ` [PATCH 09/11] evio: refactoring Vladislav Shpilevoy
2018-12-03 16:37   ` Vladimir Davydov
2018-12-04 21:29     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-03  9:47 ` [PATCH 00/11] SWIM preparation Vladimir Davydov
2018-12-03 10:27   ` [tarantool-patches] " Vladislav Shpilevoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox