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 67A466EC40; Mon, 9 Aug 2021 10:45:21 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 67A466EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1628495121; bh=rFP4csXlzMImbaQHvrwmcjp/YUCW7D7mOZjGaQYKqL4=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=zFXBAqany5mpY3rZFpxaDfWI7/CLmiHjWOTJnDYjYZn4FZaihA6h9rQ8KJd45skhf m9MZrx2whenR9FV+7elzERVrEEfg0+rlXRF3sB6dUQgculzLC3y5cdC2rJ7sUKkUg7 sgLtL8QU5TcavItmhul+uJUJpxbBWOtrWaaQUASM= Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 5FE6F6EC40 for ; Mon, 9 Aug 2021 10:45:19 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5FE6F6EC40 Received: by mail-lf1-f46.google.com with SMTP id w20so5386646lfu.7 for ; Mon, 09 Aug 2021 00:45:19 -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=RzRHCSnDKfsc9+cJWZCr3YpAgds/WSxtJQFZgDEicBA=; b=ucBWyD1NLXQ3s7qHnTMSnhjLqrdAKFlKIwYXJm8vJgpDskEI/6KFQqWi+dYUQuKVOW 9lPpDdbenyCM897W/MbuQ2CEgaWA4qQb18fvbajcsfACqX1JJCLxDmNrkBZQZhR+1HfQ TZMUs6h8zzU6Af39djN2io6Fa0QMu1mFuUD0+W5CZwaJu84nqWZ9QWdrSs/acwcbwk4C hLWKi3JozzZ2KM+FxWfQosuUNo979Gm2cAQjv6FjnjfvlJIIJZLG5CAttz56LgCegZz2 EazTbfMvtCl643eMUrxDvxgNjJJ9ZdZHuBaEfInnTKLu1FCRw0hiiVHQzOd3JBDth9Bj whSw== X-Gm-Message-State: AOAM533EGqDY/1r/OdweZfST2/VvrZnznUJqFwE2mCBu9s7mUzUwmW5f 1a5Ej4NXcexPToVCl2kJgMoxx7G5JM3qfA== X-Google-Smtp-Source: ABdhPJw6x4bWRwQE3yIakqpmDAQ0a1uZP+YKZxDYQ1Uy4oen61GM8rqsOiHTQ6js5+SG+KkzbUrJng== X-Received: by 2002:a05:6512:308b:: with SMTP id z11mr16695316lfd.559.1628495118450; Mon, 09 Aug 2021 00:45:18 -0700 (PDT) Received: from grain.localdomain ([5.18.253.97]) by smtp.gmail.com with ESMTPSA id w6sm1528200ljw.8.2021.08.09.00.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Aug 2021 00:45:17 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id B5E635A001E; Mon, 9 Aug 2021 10:45:16 +0300 (MSK) Date: Mon, 9 Aug 2021 10:45:16 +0300 To: Serge Petrenko Cc: v.shpilevoy@tarantool.org, tarantool-patches@dev.tarantool.org Message-ID: References: <20210809074206.57564-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210809074206.57564-1-sergepetrenko@tarantool.org> User-Agent: Mutt/2.0.7 (2021-05-04) Subject: Re: [Tarantool-patches] [PATCH] replication: fix flaky gh-3055-election-promote test 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 Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Mon, Aug 09, 2021 at 10:42:05AM +0300, Serge Petrenko wrote: > Found the following error in our CI: > > [001] Test failed! Result content mismatch: > [001] --- replication/gh-3055-election-promote.result Mon Aug 2 17:52:55 2021 > [001] +++ var/rejects/replication/gh-3055-election-promote.reject Mon Aug 9 10:29:34 2021 > [001] @@ -88,7 +88,7 @@ > [001] | ... > [001] assert(not box.info.ro) > [001] | --- > [001] - | - true > [001] + | - error: assertion failed! > [001] | ... > [001] assert(box.info.election.term > term) > [001] | --- > [001] > > The problem was the same as in recently fixed election_qsync.test > (commit 096a0a7d5e2442656d228658f89f0c7066c60b16): PROMOTE is written to > WAL asynchronously, and box.ctl.promote() returns earlier than this > happens. Ack.