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 91BE86EC55; Thu, 10 Jun 2021 16:02:49 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 91BE86EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1623330169; bh=iS5uQRK9fvY0PmV046onAeCgsi9UG6d73ghyadp+Hlw=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=oxNeFPU/2OOUIhMzExGFOIUV7Z7sPbdkVPZ+HO8fhjCqgtOEZ9WzEl7TP3X7RL/fV XtigTTBl9IjxPLzuYvLBg3Hwdw09Cy3BBZHrt3+bwkeRx+ljm9o2EUUpcKwVKJYS1u Ywkv5ZmNQ3SZXPMRtJ2yyMOBEtTMLDSai9gnZ8r4= Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 2EE376EC55 for ; Thu, 10 Jun 2021 16:02:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2EE376EC55 Received: by mail-lj1-f179.google.com with SMTP id a19so1618461ljq.12 for ; Thu, 10 Jun 2021 06:02:48 -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=LqZKMqQX1lzRJgTIJwIVI82VEPUo1NVNujRR+ZD7Y/o=; b=N1ycAML4rasm9eGucRcPRrxeuPgCPlpI02vgZ46eI2DTPsvVzCcoBFdmtZrSPRWrod Oi6DEiLlJEMfuJVEtRWQB/DcHexfHzlWX2/MQqIaa/d/xrjI63JHA6bfJQfXagCs6/0r EfMni8TGZp7G/3An8Am8kVOC6RxN45+Y3rpQ0b21NNIYXEvGali2X8PjuWmw7kjsFSbB U1mmu5plaA9TxQup35aWK7xb+JjnVHF88NQrRQIiZUSfGu6hkvQblnKkcDTMpoko7idy w1x+d8af4IIl2JxuBZFLazpuQ2njFYc1FVKKuLroO0jKg6D2lkLxxsQ9OudJnNkW2yu3 oE0Q== X-Gm-Message-State: AOAM533HvHOlRuui4zggng5fUZ3Y0JjftM3EVQBLiQvKX1kXoBzRPxRk h5+t/+aQ2OJe/wehOpYLnKHq9GEBtFM= X-Google-Smtp-Source: ABdhPJxghkxAfQFFhEsH/Zb6bT+8tyQSikIJ5Kt9+0kkaYBjDxZCuHOtR1m4i1Jx74kTwmK9DDEUng== X-Received: by 2002:a2e:98d0:: with SMTP id s16mr2113655ljj.155.1623330163338; Thu, 10 Jun 2021 06:02:43 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id h186sm293970lfd.185.2021.06.10.06.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 06:02:42 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 342AD5A0041; Thu, 10 Jun 2021 16:02:41 +0300 (MSK) To: tml Date: Thu, 10 Jun 2021 16:02:39 +0300 Message-Id: <20210610130240.93174-1-gorcunov@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v6 0/1] applier: filter incoming synchro packets via transaction initiator 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" While there only one patch in the series I still provide a cover letter to describe changes from previous version at https://lists.tarantool.org/tarantool-patches/20210608180833.211678-1-gorcunov@gmail.com/ - rework the test case to use gh-6035- prefix in filenames - do not modify test runner's cfg - use only memtx engine for the test (suite.ini updated) - update wait state for data propagation on replica - update gh-5445-leader-inconsistency.test.lua testcase because we need a new term to be floating issue https://github.com/tarantool/tarantool/issues/6035 branch gorcunov/gh-6035-applier-filter-6 Please take a look once time permit Cyrill Gorcunov (1): applier: filter incoming synchro packets via transaction initiator src/box/applier.cc | 27 ++-- src/lib/raft/raft.h | 7 - .../gh-5445-leader-inconsistency.result | 15 +++ .../gh-5445-leader-inconsistency.test.lua | 5 + .../replication/gh-6035-applier-filter.result | 120 ++++++++++++++++++ .../gh-6035-applier-filter.test.lua | 54 ++++++++ test/replication/gh-6035-master.lua | 1 + test/replication/gh-6035-node.lua | 35 +++++ test/replication/gh-6035-replica1.lua | 1 + test/replication/gh-6035-replica2.lua | 1 + test/replication/suite.cfg | 3 + 11 files changed, 250 insertions(+), 19 deletions(-) create mode 100644 test/replication/gh-6035-applier-filter.result create mode 100644 test/replication/gh-6035-applier-filter.test.lua create mode 120000 test/replication/gh-6035-master.lua create mode 100644 test/replication/gh-6035-node.lua create mode 120000 test/replication/gh-6035-replica1.lua create mode 120000 test/replication/gh-6035-replica2.lua base-commit: 9fb95cfd78403b33cacbe765c35036a0532b2c02 -- 2.31.1