[tarantool-patches] [PATCH 0/4] Outdate disconnected session

Konstantin Osipov kostja at tarantool.org
Fri Dec 7 20:41:37 MSK 2018


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [18/12/07 18:48]:
> Once a connection is closed, a long-running user request can not
> learn about this occasion. Even box.sesion.push() still works and
> on_disconnect triggers are not run.
> 
> This patch makes things simpler:
> 
> * disconnected session is marked as dead. So a user can determine
>   if a connection is closed by looking at session type == 'dead',
>   or checking for errors from box.session.push();
> 
> * on_disconnect triggers are run right after disconnect. Even if
>   there are some active requests.

I missed two comments: 

- please a docbot request to one of your changeset comments
- please push both into 2.1 and 1.10, use cherry-picking according to
  the new rules.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list