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 CD2716EC55; Fri, 30 Jul 2021 14:35:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org CD2716EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1627644945; bh=0DLMLg8DmnrbNZBKTNdnupjHNhAWKeGuMxa245f8qHU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=SoRq/BekUicN1krYK1Flkv1w+m/FmNjchosNA9sIYSWW75GQ7ghokcjF0O4kMjn6u AdDLiqGXvArjuCS+xr5oV5kkrcLkMCJooprsP+CPyj42zSVkWTkHIQwR5Z7s8mKMdU B7LZt37rH/eTpVJqeG7fCpyzsQ/epwMD+kaXVJIo= 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 113CD6EC55 for ; Fri, 30 Jul 2021 14:35:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 113CD6EC55 Received: by mail-lf1-f41.google.com with SMTP id r17so17316577lfe.2 for ; Fri, 30 Jul 2021 04:35:44 -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=4/zIczhLZUOitsnry2FlJGnJcrumOAn5nAS+kTxVbPw=; b=rDKl/GgMegtO0qP3VU7Cc1TOizKh7jHE+3DI1QARiNOrOYuZY5KrCbcgUy/F+3GHPb /hSgb++fLFKmftTALNjSZXyH8mhlMdqgysyLsXMBzEqTooOqo8XhRP/3Fu3lWIYeRzKu t+Rjwxj7WGwtLEHbM+Ls3x9Vd3v+ZNge6iWlIQ0ebn86TLq+EcBWNSDgMxhk/xIbw3dL /PBrna6/cdN/matJHI/5KgNshsy3mcbUsuyTkuG4Diz5O/rYzLvM5/xmCX6dHBYAkrtS 3viu3pdxfpPoYjHF8B2zTLbsGWheQr4An0/7k3m45oN1rzqlbQt3FBNR+Fg8BPjVPFhR upeA== X-Gm-Message-State: AOAM532DkoOHN0wg3xY/8+5aybJ6FVrpi8yvvlXsuKyDF87Mt9v0M6/A 0kmL3C816N5Y2HHOq5k7DIxU2BlXRsYypA== X-Google-Smtp-Source: ABdhPJzF/HWCE33oBl66S/+LCqCP6lagW3r/WhCzLfrDRUCyoLU6NoLdwolopb20BGtScz1sfSOGKA== X-Received: by 2002:a05:6512:230b:: with SMTP id o11mr1653197lfu.292.1627644942889; Fri, 30 Jul 2021 04:35:42 -0700 (PDT) Received: from grain.localdomain ([5.18.255.97]) by smtp.gmail.com with ESMTPSA id p5sm129667lfr.84.2021.07.30.04.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 04:35:41 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 31BA05A001E; Fri, 30 Jul 2021 14:35:41 +0300 (MSK) To: tml Date: Fri, 30 Jul 2021 14:35:34 +0300 Message-Id: <20210730113539.563318-1-gorcunov@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v9 0/5] 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" 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 yet. Vlad, I removed txn_limb_terms structure which made me to rework the series, please take a look if you have some other comments to address. branch gorcunov/gh-6036-rollback-confirm-09-notest 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 v9: - opencode terms tracking - fix tests to use wait function since log output might be deferred by OS Cyrill Gorcunov (5): latch: add latch_is_locked helper say: introduce panic_on helper limbo: order access to the limbo terms limbo: filter incoming synchro requests test: add replication/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 | 323 ++++++++++++++++-- src/box/txn_limbo.h | 103 +++++- 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 | 92 +++++ 12 files changed, 759 insertions(+), 43 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: 354a4897eb8e5a60a4d6673e17b00a2e597b719e -- 2.31.1