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 463B36EC55; Mon, 23 Aug 2021 14:41:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 463B36EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1629718916; bh=YbpplSll8nPRCFRTg+TM0RNSar52C7r19NkK9g+pQ60=; 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=gRWOZCBIioBcfledKwZ5JnY6Sa8+dRkZ+pMhHiOX1fL1AlJ0brRmpaj1yE25ruIew uRIN79r3PKnQDvhrHvI+gHH+XWulJyoQU8p2sNsxTGT/21vhVQFPKOOoavTKTXGFRY QqUfnsshoudC8sAqh1qqRVqXdDDEBSU7pmtCdaSo= Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 A97866EC55 for ; Mon, 23 Aug 2021 14:41:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A97866EC55 Received: by mail-lf1-f41.google.com with SMTP id k5so37313510lfu.4 for ; Mon, 23 Aug 2021 04:41:54 -0700 (PDT) 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:in-reply-to:user-agent; bh=Lh35e3k9ZQxUynQ23PLl4ZTzXbRnX7cdXbIsT+zXxQ0=; b=ekDB259yVJN5knDIGrdPq25LG2jh3K5VCjfcIhDjyFKDj9MnnUAW4vLksZ6JqZzqUu Dv1rk1e6xA8lOPKz+YmJEiySV1XeCi+EUmD1R98TAefunWCPtaGJwHI1tvS8eGm3tnGX A/sBgQgsLz6XBpc2JrZuGYT7NsoZr57T249V3Z26rQ/9il1mnaVXH382jRjZivOMVqxU dLaB9KEXoJDBjVQZPwEqfPtOM+CiAiB40q+QuoxXTARzvRQ4l4RPwtCrbD1XIHR5vwec 9SQBHkJLLhGjsA1ix6/mR7BWoTbk1Y8bKL3eKhSfVCuaEEfDAik4ehHw16lk0kmS/yxa +zow== X-Gm-Message-State: AOAM532Rj2R6Yxl8BvCmR3NN7iBAxk92VDH2+yPzjusVOzW8+PAtWR6I D+lPM4c/+A0Q2HoMfow4k2ny/KVyAxdkbQ== X-Google-Smtp-Source: ABdhPJzfQaotRly1HXRRHvzKRDd5/gOXavwULq9gcgFJiz5oN1vPVFj7cZ+oyaEdJdfEwpZTuC0pfQ== X-Received: by 2002:a05:6512:2611:: with SMTP id bt17mr24217597lfb.141.1629718913756; Mon, 23 Aug 2021 04:41:53 -0700 (PDT) Received: from grain.localdomain ([5.18.253.97]) by smtp.gmail.com with ESMTPSA id z8sm1428917lfs.177.2021.08.23.04.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Aug 2021 04:41:52 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id C5E705A001E; Mon, 23 Aug 2021 14:41:51 +0300 (MSK) Date: Mon, 23 Aug 2021 14:41:51 +0300 To: Serge Petrenko Cc: Vladislav Shpilevoy , tml Message-ID: References: <20210804190752.488147-1-gorcunov@gmail.com> <20210804190752.488147-3-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.7 (2021-05-04) Subject: Re: [Tarantool-patches] [PATCH v10 2/4] limbo: order access to the limbo terms 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 Mon, Aug 23, 2021 at 02:32:27PM +0300, Serge Petrenko wrote: > > > > In the next patch you would make txn_limbo_process_begin() > > also take the request to validate it. Then the 'filtering' > > would become internal to the limbo. > > I agree with Vlad here. > > txn_limbo_process_begin()/commit()/rollback > > looks more clean than calling lock()/unlock() manually. > > Let's stick with Vlad's proposal then. Sure thing, thanks!