Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Yukhin <kyukhin@tarantool.org>
To: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org,
	Alexander Turenko <alexander.turenko@tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v1] test: replication/wal_rw_stress fix wait_cond
Date: Tue, 14 Jul 2020 14:24:23 +0300	[thread overview]
Message-ID: <20200714112423.ggbam4uo6asw2dz2@tarantool.org> (raw)
In-Reply-To: <c0344914698895a9ef4172ee4e9a75ce563a2693.1594723276.git.avtikhon@tarantool.org>

Hello,

On 14 июл 13:42, Alexander V. Tikhonov wrote:
> Found that on heavy loaded hosts the test tries to check replication
> downstream status when downstream structure is not ready and it fails
> with the error:
> 
> [017] --- replication/wal_rw_stress.result	Thu Jul  9 17:04:16 2020
> [017] +++ replication/wal_rw_stress.reject	Fri May  8 08:25:15 2020
> [017] @@ -75,7 +75,8 @@
> [017]      return box.info.replication[1].downstream.status ~= 'stopped' \
> [017]  end) or box.info
> [017]  ---
> [017] -- true
> [017] +- error: '[string "return test_run:wait_cond(function()         ..."]:1: attempt to
> [017] +    index field ''downstream'' (a nil value)'
> [017]  ...
> [017]  test_run:cmd("switch default")
> [017]  ---
> [017]
> 
> So the wait condition should start from the check of the downstream
> structure availability.
> 
> Follows up #4977
> ---
> 
> Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4977-test-replication-wal_rw_stress
> Issue: https://github.com/tarantool/tarantool/issues/4977

LGTM.

I've checked your patch into 1.10, 2.3, 2.4 and master.

--
Regards, Kirill Yukhin

      reply	other threads:[~2020-07-14 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 10:42 Alexander V. Tikhonov
2020-07-14 11:24 ` Kirill Yukhin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200714112423.ggbam4uo6asw2dz2@tarantool.org \
    --to=kyukhin@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=avtikhon@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1] test: replication/wal_rw_stress fix wait_cond' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox