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 792DB6EC40; Mon, 31 May 2021 20:59:05 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 792DB6EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1622483945; bh=jUissOD/ND6xBItIreq/6iYC24Zu4gvjFJh42pMQ61k=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=XIGuHAtpsNVwm51paN6A6BRv7ndK5HoCiFmybFI687M53rd5g6aTIpRyV+Y17uR5Z T1rANTk4uJfBtWX+eABgC1P0uy0BPZRorxo7U+Hh/JFCfON2hfYSjp3NVubCVFQq1t k7UqkQ8nAVBLOnoEiC2C66NEExpUZ6B68HuiJYXo= Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 E6AE66EC40 for ; Mon, 31 May 2021 20:59:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E6AE66EC40 Received: by mail-lj1-f171.google.com with SMTP id c11so422289ljd.6 for ; Mon, 31 May 2021 10:59:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kVru40ALemx4vM1nesxzrkHgRwPhuVVGsaECLL/UReE=; b=p4abgKlEGPVf0ItkAMWo4FX1BuV5NKQlR0BfLVbfBVtXhuCfdst9UVKW701uITkU/m uvyJ9ddvZLIdTQXnpEzUJwruI/Z1MfSnW+z9QSxFYkefMZiXYfTar6moNd8T5wIcwUAF SBAE+TXqcMq2gurPvXAYWYhMQp6ybOyGPzYuVpFKX5bNzgzJQgzP/9kz7x0o6VqtCrI6 liEaA5Gu0dKK6al7H2XWMLdLddXCnyef6lzXtgIUBi989NN2R4s/gtKOp/ghqHPRPh4u lALsOI92jlN5CawaRtqfu0CUb0qufxVeJpff9hrfA8dp9ynrGAhzLYDfwsNz7H7G0FDj Ndwg== X-Gm-Message-State: AOAM531DbN2ADVjQ106Nw2ItL0O2gjo0XNdvQs3l58fjEEl+9apO139/ YybtlSoYAUGchSfH3EmNqpGZT6/oQpk= X-Google-Smtp-Source: ABdhPJzir+mA3k+LnrJJrc37EBnGnSSLovVLl7IThkJRXnBMiBGNCBN2lAD4kOcnenNlWS5a8F0BTA== X-Received: by 2002:a2e:8602:: with SMTP id a2mr3412362lji.510.1622483942769; Mon, 31 May 2021 10:59:02 -0700 (PDT) Received: from grain.localdomain ([5.18.171.94]) by smtp.gmail.com with ESMTPSA id w26sm782518lfl.111.2021.05.31.10.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 10:59:01 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 228895A0042; Mon, 31 May 2021 20:59:01 +0300 (MSK) Date: Mon, 31 May 2021 20:59:01 +0300 To: tml Message-ID: References: <20210531170526.675346-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210531170526.675346-1-gorcunov@gmail.com> User-Agent: Mutt/2.0.7 (2021-05-04) Subject: Re: [Tarantool-patches] [PATCH] test/replication: add testcase for synchro 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" On Mon, May 31, 2021 at 08:05:25PM +0300, Cyrill Gorcunov wrote: > In the test we do kind of ping-pong with promote records > to get difference in applier_synchro_filter_tx where promote > record reached a node with proper source instance but obsolete > row's 'term' content. > > The main idea is to reach this situation we didn't figure out > yet which filtering strategy should be choosen. > > Thus the patch is not for merging but for further investigation. > > issue https://github.com/tarantool/tarantool/issues/6035 > branch gorcunov/gh-6035-applier-filter-3-notest Force updated for more precide output --- -- -- At this point the r1 will receive the XXX record. -- -- XXX: decode_obsolete_rows: applier 4 (obsolete 0) -- XXX: PROMOTE: type 31 replica_id 3 (obsolete 1) group_id 0 sync 0 lsn 1 tsn 1 flags 0x1 -- XXX: PROMOTE: type 31 replica_id 4 origin_id 3 lsn 0 term 4 -- -- XXX: decode_obsolete_rows: applier 4 (obsolete 0) -- XXX: PROMOTE: type 31 replica_id 3 (obsolete 1) group_id 0 sync 0 lsn 2 tsn 2 flags 0x1 -- XXX: PROMOTE: type 31 replica_id 4 origin_id 3 lsn 0 term 6