From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id C7E786EC6F; Fri, 12 Feb 2021 20:00:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C7E786EC6F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1613149232; bh=DeuUSoTcAbSIbQLcPKzZ80GJ0PzyVSy/k+ZvhgY9I0Q=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=FdZiarBVy45O3STkWsDRFY2WsdFVkJDm5+J5is7zUZvuaj5wRzOhwVWNCylLiYLhN A7cEJnhwP4og47bzkzUES7JMJ0pW+2Rjyr3M3WV5vHPwYTi0hrhA6KH04gQm8YQXnq KeKU6i+zKV31V6PmtdLL/41UlpiNjwB7wpEG1M10= Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A58D46EC6F for ; Fri, 12 Feb 2021 20:00:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A58D46EC6F Received: by mail-lf1-f42.google.com with SMTP id v30so427853lfq.6 for ; Fri, 12 Feb 2021 09:00:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=DeuUSoTcAbSIbQLcPKzZ80GJ0PzyVSy/k+ZvhgY9I0Q=; b=WztiHoLGBsYxIgk5+G+KSkahsV1ZLcxGxXrS2E+3UheTXqkkPMaS8BNMhEJufVByrr pAhFD8azZor6ERNzmaHddzwNJ1z8yrIZxt93gLQl25/uE31bShzjIsbqSoR9X+AkqdDS Iu6MuuZ3JQ5Ns+oVVtLFwIoz7D62nUuUtu43SX25W6LYSPb1LSvNu8xvkPH6egis9nlH 7/kd0Kt7+WfEijUGIYv+yZN9ihVwxmJcuSA52wm76HLHZi7wErawzgsYlfvZtq5VKMKy aNPPPAK4xLbcVZ5QyQ4mgPo8CwwpQ24FvqtGPun4ZfavA72AL+pU5ieq/OEmHofsRlId 7SGw== X-Gm-Message-State: AOAM532pVGvoeV1yLXLFhyZFsT1QHWqDofc7VjfhtptAr1+qipabIycZ 4sLOZ+ID6BCptpqvdvf6Ku0tpre8npg= X-Google-Smtp-Source: ABdhPJw30A0o5qkBbfFfKhrv5X2WE4zswz5v0yoYy+MUtP0dVddYl19M7NaH3gJH6U/M9cPrXoF02Q== X-Received: by 2002:a05:6512:20ca:: with SMTP id u10mr2166343lfr.260.1613149229395; Fri, 12 Feb 2021 09:00:29 -0800 (PST) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id b5sm1114099lfi.3.2021.02.12.09.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 09:00:28 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id 5742C56009A; Fri, 12 Feb 2021 20:00:27 +0300 (MSK) Date: Fri, 12 Feb 2021 20:00:27 +0300 To: Serge Petrenko Cc: v.shpilevoy@tarantool.org, tarantool-patches@dev.tarantool.org Message-ID: References: <20210212112541.27561-1-sergepetrenko@tarantool.org> <538dd07a-ca66-9513-4f5d-1abf2a05ad7a@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <538dd07a-ca66-9513-4f5d-1abf2a05ad7a@tarantool.org> User-Agent: Mutt/2.0.5 (2021-01-21) Subject: Re: [Tarantool-patches] [PATCH] relay: yield explicitly every N sent rows X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Fri, Feb 12, 2021 at 03:08:51PM +0300, Serge Petrenko wrote: ... > ========================================================================= > diff --git a/src/box/relay.cc b/src/box/relay.cc > index afc57dfbc..1d8edf116 100644 > --- a/src/box/relay.cc > +++ b/src/box/relay.cc > @@ -836,7 +836,7 @@ relay_send(struct relay *relay, struct xrow_header > *packet) >  { Acked-by: Cyrill Gorcunov