From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 1D8DC469719 for ; Thu, 12 Nov 2020 22:51:26 +0300 (MSK) Received: by mail-lj1-f171.google.com with SMTP id y16so7681952ljk.1 for ; Thu, 12 Nov 2020 11:51:25 -0800 (PST) From: Cyrill Gorcunov Date: Thu, 12 Nov 2020 22:51:10 +0300 Message-Id: <20201112195121.191366-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 00/11] qsync: code refactoring List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy Guys, while I'm working on #5435 and trying to figure out how to implement it I need to read a lot of code so here are some patches which I guess make code more readable. Please take a look and say what you think. We can easily ignore the whole set. branch gorcunov/gh-5435-clear_synchro_queue Cyrill Gorcunov (11): build: add more ignore paths for tags target vclock: vclock_get - drop misleading masking vclock: vclock_inc -- add assert() to catch overflow txn: txn_commit_async -- drop redundant variable qsync: rename txn_limbo::instance_id to owner_id qsync: txn_limbo_append -- use owner_id in argument name qsync: move limbo owner transition into separate helper qsync: txn_limbo_wait_confirm -- refactor code a bit qsync: drop redundant type convention relay: use verbose names for fibers raft: drop redundant argument CMakeLists.txt | 6 ++ src/box/box.cc | 2 +- src/box/raft.c | 2 +- src/box/relay.cc | 17 ++--- src/box/txn.c | 13 ++-- src/box/txn_limbo.c | 126 ++++++++++++++++++--------------- src/box/txn_limbo.h | 4 +- src/lib/vclock/vclock.h | 7 +- test/unit/snap_quorum_delay.cc | 2 +- 9 files changed, 98 insertions(+), 81 deletions(-) base-commit: 5d2962244247707c7298a59de0bd4628091dda96 -- 2.26.2