[tarantool-patches] Re: [PATCH 2/2] session: fix box.session.sync()

Konstantin Osipov kostja at tarantool.org
Thu Jun 14 00:13:26 MSK 2018


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [18/06/09 22:33]:
> Before the patch box.session.sync() is global for the session and
> is updated on each new iproto request. When the connection is
> multiplexed, box.session.sync() can be changed with no finishing
> a current request, if a new one arrives.
> 
> The patch makes box.session.push() local for the request,
> protecting it from multiplexing mess. Box.session.sync() after
> the patch can be safely used inside a request.
> 
> Closes #3450

OK to push.


-- 
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