From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 20 Mar 2018 19:49:24 +0300 From: Vladimir Davydov Subject: Re: [PATCH v3 1/1] iproto: get iproto obuf only right before usage Message-ID: <20180320164924.xdbo6xfhofr7oaxh@esperanza> References: <20180320130735.xujvp3pc52d5djsj@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Vladislav Shpilevoy Cc: tarantool-patches@freelists.org List-ID: On Tue, Mar 20, 2018 at 04:43:05PM +0300, Vladislav Shpilevoy wrote: > It is possible to discard non-sent responses using a special > sequence of requests and yields. In details: if DML requests > yield on commit too long, there are fast read requests, and a > network is saturated, then some non-sent DML responses are > discarded. > > Closes #3255 > --- > src/box/iproto.cc | 25 +++++++++++++++++++++---- > src/errinj.h | 1 + > test/box/errinj.result | 46 +++++++++++++++++++++++++++++++++++++++++++++- > test/box/errinj.test.lua | 21 +++++++++++++++++++++ > 4 files changed, 88 insertions(+), 5 deletions(-) Looks good to me.