Branch: refs/heads/master
  Home:   https://github.com/mailru/tarantool
  Commit: 4a76b67fb4c9f54cfebaa6d067f82327c5d1ba93
      
https://github.com/mailru/tarantool/commit/4a76b67fb4c9f54cfebaa6d067f82327c5d1ba93
  Author: Konstantin Osipov <[email protected]>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    A include/coio.h
    A include/coio_buf.h
    M include/evio.h
    M include/fiber.h
    M mod/box/box.m
    M mod/box/memcached-grammar.m
    M mod/box/memcached-grammar.rl
    M mod/box/memcached.h
    M mod/box/memcached.m
    M mod/box/txn.m
    M src/CMakeLists.txt
    M src/admin.m
    M src/admin.rl
    A src/coio.m
    A src/coio_buf.m
    M src/evio.m
    M src/exception.m
    M src/fiber.m
    M src/iproto.m
    M src/replica.m
    M src/replication.m
    M src/say.m
    M src/sio.m
    M src/tarantool.m
    M src/tarantool_lua.m
    M test/box/lua.result
    M test/box/lua.test

  Log Message:
  -----------
  Extract cooperative IO from fiber.m.

Make all subsystems (administrative console,
replication, memcached, binary protocol) use exception-based
socket API (sio.m).

Remove all fiber members related to socket I/O.
Remove fiber->peer and fiber->cookie.
The idea of the cookie is to preserve in the WAL
the originator of the request. This information is, however,
lost when saving a snapshot. To my knowledge there is no use
of this functionality, apart from pretty-printing
the WAL.

Peer is like cookie, but is textual and is used
for logging. However, now, as long as network errors
occur outside fiber context, most of the usefulness
is lost. The only remaining case is when someone is
trying to execute a write request on a read-only port.

For all other cases, sio.m already supplies SocketError
with peer name, and this is where it's most useful.



_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to