[PATCH] replication: automatic skip duplicating rows in replication
Vladimir Davydov
vdavydov.dev at gmail.com
Fri Apr 13 16:46:34 MSK 2018
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
Looks OK to me.
More information about the Tarantool-patches
mailing list