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 364276E454; Wed, 2 Mar 2022 23:27:17 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 364276E454 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1646252837; bh=M5VihmOokzYoJnHQHnUAgn321JrheMwQ4AsmncfEeng=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=DIVk5amtx/Rv1tCRZBCSKmKQ6JRmc+TgOd6gc7f4/G+mEsW+azp6Ndbz/QocXzFM3 u9Xm1TRizJ9x2b0oFFl532jYwOkf/2BDZ1q7z78wWvinzewht7784/xJ0dcl/H5rHt lIZX9bdmeNxluwBVirAMEYMp+YzTkxZA+Nih4mIo= Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 A13366E454 for ; Wed, 2 Mar 2022 23:27:15 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A13366E454 Received: by mail-lf1-f45.google.com with SMTP id 5so2834361lfz.9 for ; Wed, 02 Mar 2022 12:27:15 -0800 (PST) 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=Rm5uENWtoTYcduZ/IjmWr/tAYID5EMwA6VJSp4qIyiI=; b=hw9RByt/N72WKOcw8KZuz2cW4nn2EO7OCEE4AzZ3fTgi+N2mT2Ek8wLj7JOTRhWaia CrQvdRWd9cIeM5TI0BDhI9629sHLweEY73VqJfFeiVuw6zK170Ub8C6hquj+Eega8s+B MSvb2YzXMyCCb84mZgTuhXb7hte5prCxMVYhcQyxi7YDHOBzyBpCNehNSn/urpYSfkjT fw+HTOFB0SFJcKaOrc5sTn+A+SBl+vRo56N4oMonIpdsovYOGxioDfByC0QHdL6egkL5 bapXGqIFrNE7ZPh1ytONdgQz1qXSTE/6pvZcAVJhlpZt9GfgWGIvfblj8VyrwXUUIaDV uyzQ== X-Gm-Message-State: AOAM530/ms9YYiKB52x2duMYlNcFC2CyZU/W114ljaBmDhRGKAVAUyOH K0NSIMGSi6FlU2iQKwWFi5FoX6LL257ZdA== X-Google-Smtp-Source: ABdhPJxpb6H7R1k/V67OolP9wTrBbDvtwygskowjEkjTvEO61IXkts7N2uioKpAS1b/edppsoIpOQw== X-Received: by 2002:a05:6512:150b:b0:43b:3539:e215 with SMTP id bq11-20020a056512150b00b0043b3539e215mr18825087lfb.573.1646252834374; Wed, 02 Mar 2022 12:27:14 -0800 (PST) Received: from grain.localdomain ([5.18.251.97]) by smtp.gmail.com with ESMTPSA id i10-20020a0565123e0a00b00443ab307e3esm12067lfv.277.2022.03.02.12.27.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 12:27:13 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id 54F7F5A0020; Wed, 2 Mar 2022 23:27:12 +0300 (MSK) To: tml Date: Wed, 2 Mar 2022 23:27:08 +0300 Message-Id: <20220302202711.1003906-1-gorcunov@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v31 0/3] 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" Guys, take a look please, once time permit. Comments are welcome! v30: - addess commenst (redundant code modifications due to more general locking scheme) - leave `latched` status for transactions which are started to process (ie entered limbo processing) but not yet complete due to WAL stalls, since I need to test exactly such state - extend the test v31 (by SergeP): - drop latch_is_locked member - use `busy` flag in info output - update test case (kudos to SergeP for help) branch gorcunov/gh-6036-rollback-confirm-31 issue https://github.com/tarantool/tarantool/issues/6036 previous series https://lists.tarantool.org/tarantool-patches/20220224201841.412565-1-gorcunov@gmail.com/ Cyrill Gorcunov (3): latch: add latch_is_locked helper qsync: order access to the limbo terms test: add gh-6036-qsync-order test src/box/applier.cc | 6 +- src/box/box.cc | 8 +- src/box/lua/info.c | 4 +- src/box/txn_limbo.c | 13 +- src/box/txn_limbo.h | 44 +++- src/lib/core/latch.h | 11 + .../gh_6036_qsync_order_test.lua | 198 ++++++++++++++++++ test/replication-luatest/suite.ini | 1 + 8 files changed, 275 insertions(+), 10 deletions(-) create mode 100644 test/replication-luatest/gh_6036_qsync_order_test.lua base-commit: 884b3ff3ffa5f6a9d4c3982611da83dc935d0b17 -- 2.35.1