From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 18 Apr 2018 15:30:23 +0300 From: Vladimir Davydov Subject: Re: [PATCH] replication: automatic skip duplicating rows in replication Message-ID: <20180418123023.5uodormfano7p4ys@esperanza> References: <20180413134412.20737-1-k.belyavskiy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180413134412.20737-1-k.belyavskiy@tarantool.org> To: Konstantin Belyavskiy Cc: georgy@tarantool.org, tarantool-patches@freelists.org List-ID: On Fri, Apr 13, 2018 at 04:44:12PM +0300, Konstantin Belyavskiy wrote: > ticket: https://github.com/tarantool/tarantool/issues/3270 > branch: https://github.com/tarantool/tarantool/compare/gh-3270-add-skip-conflict-row-option > > In case of attempting to insert a duplicate key, an error ER_TUPLE_FOUND > occured, which led to disconnect. > Introduce new oftion: 'replication_skip_conflict', if set, then error of > this type will be ignored. > > Closes #3270 > --- > src/box/applier.cc | 15 +++- > src/box/lua/load_cfg.lua | 3 + > test/app-tap/init_script.result | 45 ++++++------ > test/box/admin.result | 2 + > test/box/cfg.result | 4 ++ > test/replication/skip_conflict_row.result | 105 ++++++++++++++++++++++++++++ > test/replication/skip_conflict_row.test.lua | 37 ++++++++++ > 7 files changed, 188 insertions(+), 23 deletions(-) > create mode 100644 test/replication/skip_conflict_row.result > create mode 100644 test/replication/skip_conflict_row.test.lua Pushed to 1.10.