Branch: refs/heads/stable
Home: https://github.com/mailru/tarantool
Commit: 9927a9ef69862856a541d06b99f78f1c9a520e92
https://github.com/mailru/tarantool/commit/9927a9ef69862856a541d06b99f78f1c9a520e92
Author: Konstantin Osipov <[email protected]>
Date: 2013-04-11 (Thu, 11 Apr 2013)
Changed paths:
M src/iproto.m
Log Message:
-----------
A fix for https://bugs.launchpad.net/tarantool/+bug/1168076
No test case since the bug only manifsets itself under
concurrent load.
With addition of on_disconnect triggers, iproto_session_destroy()
was invoked from two places: the request handler code and
iproto_session_disconnect callback.
This could destroy the same session twice. Worse yet, it would
be put to the session cache twice, as a free session, and then
used twice for two different client sockets.
This could end up in an unpredictable mess, best case: libev
event loop runs infinitely since libev fd has events, while
session->input.fd is already set to -1 any attempt to use the
session ends up with an exception. At the same time the session
in this condition can not be destroyed since it's impossible to
tell libev forget about a file descriptor about which we already
know nothing.
Commit: 5a0af97ec3d71a5e543a35d591bd04d1fb0a9849
https://github.com/mailru/tarantool/commit/5a0af97ec3d71a5e543a35d591bd04d1fb0a9849
Author: Konstantin Osipov <[email protected]>
Date: 2013-04-11 (Thu, 11 Apr 2013)
Changed paths:
M CMakeLists.txt
M connector/c/tnt/CMakeLists.txt
M connector/c/tntnet/CMakeLists.txt
M connector/c/tntrpl/CMakeLists.txt
M connector/c/tntsql/CMakeLists.txt
Log Message:
-----------
Merge branch 'stable' of github.com:mailru/tarantool into stable
Compare: https://github.com/mailru/tarantool/compare/9b875a83e04a...5a0af97ec3d7
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp