From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id D74A345C304 for ; Thu, 10 Dec 2020 23:55:29 +0300 (MSK) From: Serge Petrenko Date: Thu, 10 Dec 2020 23:55:10 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/4] make clear_synchro_queue commit everything List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: v.shpilevoy@tarantool.org, cyrillos@gmail.com Cc: tarantool-patches@dev.tarantool.org The patchset fails `replication/election_qsync_stress.test.lua` test. I haven't found the reason for this yet, but I still think it may be reviewed while I'm trying to figure out where the test failures come from. Serge Petrenko (4): box: add a single execution guard to clear_synchro_queue relay: rename is_raft_enabled message to relay_is_running relay: introduce relay_lsn_watcher box: rework clear_synchro_queue to commit everything src/box/box.cc | 143 +++++++++++++++--- src/box/box.h | 2 +- src/box/lua/ctl.c | 4 +- src/box/relay.cc | 120 +++++++++++---- src/box/relay.h | 44 ++++++ test/replication/election_replica.lua | 5 +- ...5435-clear-synchro-queue-commit-all.result | 137 +++++++++++++++++ ...35-clear-synchro-queue-commit-all.test.lua | 60 ++++++++ test/replication/suite.cfg | 1 + 9 files changed, 460 insertions(+), 56 deletions(-) create mode 100644 test/replication/gh-5435-clear-synchro-queue-commit-all.result create mode 100644 test/replication/gh-5435-clear-synchro-queue-commit-all.test.lua -- 2.24.3 (Apple Git-128)