From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 5955E46971A for ; Tue, 10 Dec 2019 11:21:04 +0300 (MSK) Received: by mail-lj1-f196.google.com with SMTP id z17so18757326ljk.13 for ; Tue, 10 Dec 2019 00:21:04 -0800 (PST) Date: Tue, 10 Dec 2019 11:21:02 +0300 From: Konstantin Osipov Message-ID: <20191210082102.GC21413@atlas> References: <20191209072140.GD433@atlas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 2/2] fiber: destroy fiber.storage created by iproto List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org * Vladislav Shpilevoy [19/12/10 10:22]: > > The danger of reporting, self-assigning and fixing a bug is that > > ... it might be not a bug. > > I agree. Except when something is obviously a bug which is > clearly the case. > > > > > Users should know that iproto fibers are pooled, not > > created/destroyed on demand. So fiber local storage is simply not > > making any sense for them. > > Here I disagree. Users should not know anything about whether > the fibers are pooled, when, and how. > > If so, then please, give an example, when such a strange > fiber.storage is needed? I just really can't come up with a > usage case. > > I did a public poll to understand what a behaviour is expected, > and not a single person expects, that pooled vs not pooled fiber > would affect its behaviour. Pool is like a cache. It should not > be visible. You literally said it in another thread about SQL > PREPARE. You had a discussion with the community on the channel and many people favour your fix. This is how you handle this! I will send a review. -- Konstantin Osipov, Moscow, Russia