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 1F0306EC40; Wed, 22 Sep 2021 16:05:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1F0306EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1632315951; bh=wpHGQoNF3/5xzkxVnMuPlStj3tnfJUGWz9ROHeo5mTE=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=GbPZuu6wtaAKRGpfWjYhX15z2fHvcZ5Yw3JnN+fO3P2yGv+81Oca6CwBAOSzcnlIU wl4ZnigBhhgGQ8PkfvW/wmVtLzRNNMEnxmsRHlKVkw2zRdBf2zHJjr1xgEZxd2mw6P YHFNCQdhiLR7fMkKggLaY9qJpuVe5n/e0zlWEGXk= Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 37DD26EC40 for ; Wed, 22 Sep 2021 16:05:49 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 37DD26EC40 Received: by mail-lf1-f52.google.com with SMTP id m3so11747688lfu.2 for ; Wed, 22 Sep 2021 06:05:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t0XJrhOX67DdHN0kheSZTsmCIJgRKQ19EjaMjrq06DY=; b=KNvhfq+LOZCKPlsyHJTZClgvUqM1Of8wJ7X3XA18Nf1m4v+Tli1LymB91pf/US3zRI uenbX+LtUS2yMDxfULoLZr8JvSPKEsuhiitALtcZq9Dytr8QSg2IR33Gc5mV9vjn17Pl OZn58OzlfXMLqz209kXViD1r+37F0s6SCeDontyUaGa2HcDttA6I5lx0GupgYmtM3WTc B8VwjLSW/D10/LOZmTKUQv6zh+vSpVKntJWvVdCFFi+KabH6rZhjb/SA4D46irwy+ENy IchvlA+pqNjclojB/M5HE7mJnjas7Ke2Hzte+RHsflkq3aA5Fb6GNoq4p2KEzPiR9xVJ LTKw== X-Gm-Message-State: AOAM530MUJAUGhQH+bdVDtHGRnsr3kzMbPxnbph4qiLfzsv54ULWtA4l oJdwkD9Sc/gnngbLMMweBlUzH4fDKLrkng== X-Google-Smtp-Source: ABdhPJzIgrx7BjTf0aoxdRKbLbSHL5brlaE5z3enJ25g+wvJ9FakmHTGVuUmpa7RiMKs0/Kn/KYudg== X-Received: by 2002:ac2:4f02:: with SMTP id k2mr27733957lfr.333.1632315937976; Wed, 22 Sep 2021 06:05:37 -0700 (PDT) Received: from grain.localdomain ([5.18.253.97]) by smtp.gmail.com with ESMTPSA id v27sm190315lfp.0.2021.09.22.06.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 06:05:36 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 467145A001E; Wed, 22 Sep 2021 16:05:36 +0300 (MSK) To: tml Date: Wed, 22 Sep 2021 16:05:30 +0300 Message-Id: <20210922130535.79479-1-gorcunov@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v17 0/5] qsync: implement packet filtering (part 1) 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" Please take a look once time permit. I'm mostly worried about exporting limbo internals but without it we can't test order of promotion tracking. branch gorcunov/gh-6036-rollback-confirm-17 issue https://github.com/tarantool/tarantool/issues/6036 previous series https://lists.tarantool.org/tarantool-patches/YUso7ImbeNg82tfv@grain/T/#t Cyrill Gorcunov (5): latch: add latch_is_locked helper qsync: order access to the limbo terms qsync: track confirmed_lsn upon CONFIRM packet qsync: export more details on promote tracking test: add gh-6036-term-order test src/box/applier.cc | 16 +- src/box/box.cc | 71 +++--- src/box/lua/info.c | 11 +- src/box/memtx_engine.cc | 3 +- src/box/txn_limbo.c | 48 ++++- src/box/txn_limbo.h | 49 ++++- src/lib/core/latch.h | 11 + test/replication/gh-6036-order-master.lua | 1 + test/replication/gh-6036-order-node.lua | 60 ++++++ test/replication/gh-6036-order-replica1.lua | 1 + test/replication/gh-6036-order-replica2.lua | 1 + test/replication/gh-6036-term-order.result | 216 +++++++++++++++++++ test/replication/gh-6036-term-order.test.lua | 94 ++++++++ test/replication/suite.cfg | 1 + test/replication/suite.ini | 2 +- 15 files changed, 531 insertions(+), 54 deletions(-) create mode 120000 test/replication/gh-6036-order-master.lua create mode 100644 test/replication/gh-6036-order-node.lua create mode 120000 test/replication/gh-6036-order-replica1.lua create mode 120000 test/replication/gh-6036-order-replica2.lua create mode 100644 test/replication/gh-6036-term-order.result create mode 100644 test/replication/gh-6036-term-order.test.lua base-commit: e509054ccd9a6ccea8a0c201a4ebd12b07826026 -- 2.31.1