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 959E96EC55; Sat, 17 Jul 2021 00:19:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 959E96EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1626470392; bh=lAo1FifNzp4TBVxvpkDFN4yAevcr9A2ZdcjAY2wQIFU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=V5ZpIS+l9mkN42o/ib481/dM+vjA9fgS8eqW77YxDk7qgiLAjZzl8iRZBH+Jqy4gw PmcxG7eUQSFRa41GgzO+HUQissjssCbdrpny+JGOc8NAX1+xdjTw5f6Kh+/UsjY24n Xj/0eKc7lhiA5eSPxot9Hm3VTUsvfX1ZdleffpC4= 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 7711F6EC55 for ; Sat, 17 Jul 2021 00:19:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7711F6EC55 Received: by mail-lf1-f42.google.com with SMTP id q16so18221331lfa.5 for ; Fri, 16 Jul 2021 14:19:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v5Ij5AGicCL/7yR5ZxJvGvr9mrH21p1vQZIeAlJOwCY=; b=nqw3VfWvbFtKPcUbvLA70yy7u7vyfZEPDbp6vcHPQIB+LUnzhcPjNHuaBuwZes68Dj UHVcQEpas7TXX3PTNkhylA5sEDvxTExKopEqxK+TWzXdlXbLOAVGSuGBG1zGauqdw2Ft VY4nXX76l2oxaYXF7O9o0WzQKIrlHKpH/qBMMDvdozl/FCr4kzU6AM1Cx0C7plx1kvtA 5pTaTY6pS1Likfutgeh/CvBDjGnjULlbHD0yKmPlUuEj6yxXNW1t/IUsPQcu+pf/4zI7 TlLFklwOC5X1Fyc59HGux4CNd7M9F1xn4GnOm8+9lJFAjzW1IkzLcFplyrBqc+e93AVV 4QEg== X-Gm-Message-State: AOAM531XwRsCQkWq36hx99aCdHM4LA/VxF8YEDpdWXqPwYp3JHhUZjnP dxtCUSVTD5wqzkqiII5JfLmIxTO+EQD6VQ== X-Google-Smtp-Source: ABdhPJwK2Ue4MOeqPx+pqTKivTimHEdQIeeOjm9BtWYT7slNgpvbHnkDSftSq9rSTbGs4go7okhgnA== X-Received: by 2002:ac2:5588:: with SMTP id v8mr8954100lfg.213.1626470390286; Fri, 16 Jul 2021 14:19:50 -0700 (PDT) Received: from grain.localdomain ([5.18.255.97]) by smtp.gmail.com with ESMTPSA id d18sm1041291ljc.64.2021.07.16.14.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 14:19:48 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id BD3775A001E; Sat, 17 Jul 2021 00:19:47 +0300 (MSK) To: tml Date: Sat, 17 Jul 2021 00:19:43 +0300 Message-Id: <20210716211946.23247-1-gorcunov@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [RFC v6 0/3] limbo: implement packets filtering 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 Cc: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Guys, take a look please, I skip few preparatory commits to not spam the list (since it is still RFC) and there yet no tests, but wanna show an early draft anyway. Comments are highly appreciated, and even existing tests are not yet passing so the filtering is obviously too eager, I'll address this. branch gorcunov/gh-6036-rollback-confirm-06-notest v6: - use txn_limbo_terms name for structure - rebase on fresh sp/gh-6034-empty-limbo-transition branch - rework filtering chains Cyrill Gorcunov (3): limbo: gather promote tracking into a separate structure limbo: order access to the limbo terms terms limbo: filter incoming synchro requests src/box/applier.cc | 16 ++- src/box/box.cc | 18 +-- src/box/memtx_engine.c | 3 +- src/box/txn_limbo.c | 244 +++++++++++++++++++++++++++++++++++++---- src/box/txn_limbo.h | 126 +++++++++++++++++---- 5 files changed, 354 insertions(+), 53 deletions(-) -- 2.31.1