Branch: refs/heads/stable
  Home:   https://github.com/mailru/tarantool
  Commit: 23d5f828c687a2d97f6b19a5317a760c0cc73d4d
      
https://github.com/mailru/tarantool/commit/23d5f828c687a2d97f6b19a5317a760c0cc73d4d
  Author: Konstantin Osipov <[email protected]>
  Date:   2013-03-22 (Fri, 22 Mar 2013)

  Changed paths:
    M src/lua/session.m

  Log Message:
  -----------
  Fix a bug with concurrent invocation of session triggers.

A session trigger would always use the same coroutine, for both connect and
disconnect, as well as for multiple sessions.

If a trigger runs insert() or update(), anything that yields the current
coro, the coro stack would get corrupted for the next parallel invocation.

Use an own coroutine for each invocation of a session trigger.



_______________________________________________
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