From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0CD86215F3 for ; Wed, 6 Feb 2019 03:27:58 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MSc_m564ayOq for ; Wed, 6 Feb 2019 03:27:57 -0500 (EST) Received: from smtp18.mail.ru (smtp18.mail.ru [94.100.176.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 6AB0B21572 for ; Wed, 6 Feb 2019 03:27:57 -0500 (EST) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH 0/3] Promote vclock only for successful writes Date: Wed, 6 Feb 2019 11:29:56 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Georgy Kirichenko Promote tx and wal vclock only if corresponding row was successfully written to wal. This prevents tarantool from lsn gaps in case of an wal error as well as from skipped rows in case of replication errors. Branch: https://github.com/tarantool/tarantool/tree/g.kirichenko/gh-2283-dont-skip-rows-after-errors Issue: https://github.com/tarantool/tarantool/issues/2283 Georgy Kirichenko (3): Do not promote wal vclock for failed writes Enforce applier out of order protection Promote replicaset.vclock only after wal src/box/applier.cc | 46 +-- src/box/wal.c | 57 ++- test/box/errinj.result | 23 ++ test/box/errinj.test.lua | 8 + test/replication/skip_conflict_row.test.lua | 19 + test/xlog-py/dup_key.result | 12 +- test/xlog-py/dup_key.test.py | 23 +- test/xlog/errinj.result | 1 - test/xlog/panic_on_lsn_gap.result | 377 -------------------- test/xlog/panic_on_lsn_gap.test.lua | 136 ------- 10 files changed, 116 insertions(+), 586 deletions(-) delete mode 100644 test/xlog/panic_on_lsn_gap.result delete mode 100644 test/xlog/panic_on_lsn_gap.test.lua -- 2.20.1