From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 2D311469719 for ; Wed, 26 Feb 2020 14:58:22 +0300 (MSK) Received: by mail-lf1-f67.google.com with SMTP id f24so1777022lfh.3 for ; Wed, 26 Feb 2020 03:58:22 -0800 (PST) Date: Wed, 26 Feb 2020 14:58:15 +0300 From: Konstantin Osipov Message-ID: <20200226115815.GE15433@atlas> References: <20200226102319.GB15433@atlas> <1582716061.103393657@f179.i.mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1582716061.103393657@f179.i.mail.ru> Subject: Re: [Tarantool-patches] [PATCH v4 4/4] replication: do not relay rows coming from a remote instance back to it List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: kirichenkoga@gmail.com, tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org * Serge Petrenko [20/02/26 14:22]: > I don’t think I can. The test that comes with an issue is a stress test, > relying on running it with multiple workers simultaneously. > It reproduces the problem when ran with 4 workers on one of my PCs, > and with 20 workers on the other. > I think we don’t have the appropriate testing infrastructure to run the same > test with multiple workers at the same time, and I couldn’t come up with a > single test which would reproduce the same problem. Is there a place in which you can inject a sleep to make the problem much easier to reproduce? What about injecting a sleep in wal code on replica, the place which increments local replicaset vclock ? Then you will be much more likely to receive a record from the peer before you incremented the record vclock locally, and the bug will be reproducible with a single master. -- Konstantin Osipov, Moscow, Russia