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 139FC6EC55; Mon, 26 Jul 2021 18:34:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 139FC6EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1627313698; bh=nRBwu4RZ9iuCRMctJ8EJimyh2y+1t88eg1xyYskUiYg=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=DjG2LUNNK5LEZvnMXyHsbeTHw0zWtup5tX5WzPSsEDAhExCWRb0OQSNX5z1D+W7l5 oe1aTwKewELqXnq2cCy4PYfudFmSxKCndVq1FKwahu7tbR/zeNhk8yyDXnf93+W3/R hMNmyCRU7XAgRmjO26eR6TXR0xKdJ1wdW6PPkat0= 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 2CD7D6EC55 for ; Mon, 26 Jul 2021 18:34:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2CD7D6EC55 Received: by mail-lf1-f42.google.com with SMTP id h2so16247900lfu.4 for ; Mon, 26 Jul 2021 08:34:56 -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=IEuNQFNdoB3HjV9N4hQWwK7pkisc20BAevWqOJ3w22A=; b=CiXKom6WbIrOQCr3LQ9Sky2lOVsWbgX0GTNSiNRA90SQLvjgVH+B9Bf8v/Dfu/Cihw MdvfCEuFNNUfUhx9SnqOa1yBq6EtnyJO/pYQIEnaoxvQfeTndwpcw2AtAxoT+kK1eVUv 3lq6CQ0TLAPJmpmDnNH3tWca47bFckiJGYTDHZqYNnAAo42YTSX7bDIW11o7N7PUoZGP QUKthqjFF4i1YajmPP6lHEST1LlUzqFKZap/fhGs79Lmhruq+4VziJaLqxkmh53COcm2 ckh66PuYiTdYlLN4Um3i+YTKV8vBo+6JCVZGg7Coeap9BeOkDnS/51gf6ZjX/xYq0DDi y8TQ== X-Gm-Message-State: AOAM531Oa8T+FhvpffQvtKeRmGukat/IC7giWPh+tMLlt95pDPCvmvnO 1+rKTHtAL65DDXqArYJDl3YVKAdWJ/nv0g== X-Google-Smtp-Source: ABdhPJzlrXH9NaYu0hojsJaEQ1yq/CaByXlF4ToO/glb075rQAUIhbqMUyiR2bVZ89T9oVTCsQIkLA== X-Received: by 2002:a05:6512:3116:: with SMTP id n22mr13087023lfb.170.1627313695052; Mon, 26 Jul 2021 08:34:55 -0700 (PDT) Received: from grain.localdomain ([5.18.255.97]) by smtp.gmail.com with ESMTPSA id v16sm2908ljj.55.2021.07.26.08.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 08:34:53 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 26C8E5A001E; Mon, 26 Jul 2021 18:34:53 +0300 (MSK) To: tml Date: Mon, 26 Jul 2021 18:34:46 +0300 Message-Id: <20210726153452.113897-1-gorcunov@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v8 0/6] 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 once time permit. Comments are highly appreciated. Replication tests are passing but gihutb tests are not: the series is on top of Serge's branch `sp/gh-6034-empty-limbo-transition` which is failing. Still I think the series is in good shape for review. branch gorcunov/gh-6036-rollback-confirm-08 issue https://github.com/tarantool/tarantool/issues/6036 v6: - use txn_limbo_terms name for structure - rebase on fresh sp/gh-6034-empty-limbo-transition branch - rework filtering chains v8: - add ability to disable filtering for local recovery and join stages - update tests Cyrill Gorcunov (6): latch: add latch_is_locked helper say: introduce panic_on helper limbo: gather promote tracking into a separate structure limbo: order access to the limbo terms terms limbo: filter incoming synchro requests test: replication -- add gh-6036-rollback-confirm src/box/applier.cc | 31 +- src/box/box.cc | 23 +- src/box/memtx_engine.c | 3 +- src/box/txn_limbo.c | 336 ++++++++++++++++-- src/box/txn_limbo.h | 150 ++++++-- src/lib/core/latch.h | 11 + src/lib/core/say.h | 1 + test/replication/gh-6036-master.lua | 1 + test/replication/gh-6036-node.lua | 33 ++ test/replication/gh-6036-replica.lua | 1 + .../gh-6036-rollback-confirm.result | 180 ++++++++++ .../gh-6036-rollback-confirm.test.lua | 88 +++++ 12 files changed, 797 insertions(+), 61 deletions(-) create mode 120000 test/replication/gh-6036-master.lua create mode 100644 test/replication/gh-6036-node.lua create mode 120000 test/replication/gh-6036-replica.lua create mode 100644 test/replication/gh-6036-rollback-confirm.result create mode 100644 test/replication/gh-6036-rollback-confirm.test.lua base-commit: 228a83447fbe1ca2b9358a6a98d70ecc602d4c35 -- 2.31.1