From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Konstantin Belyavskiy Subject: [PATCH 0/2] replication: improve logging. Date: Mon, 21 May 2018 20:07:16 +0300 Message-Id: To: tarantool-patches@freelists.org, vdavydov@tarantool.org, georgy@tarantool.org, kostja@tarantool.org List-ID: Ticket: https://github.com/tarantool/tarantool/issues/3365 Branch: https://github.com/tarantool/tarantool/compare/gh-3365-display-an-error-at-downstream-on-replica-failure-or-disconnect-v3 This is set of patches originally aiming to improve error logging. First patch is about to do not remove relay on applier disconnect. Second improves 'box.info.replication' output. Konstantin Belyavskiy (2): replication: do not delete relay on applier disconnect replication: display downstream status at upstream src/box/box.cc | 5 +- src/box/lua/info.c | 19 ++- src/box/relay.cc | 136 ++++++++++++++------- src/box/relay.h | 37 +++++- src/box/replication.cc | 35 +++--- src/box/replication.h | 13 +- test/replication/show_error_on_disconnect.result | 120 ++++++++++++++++++ test/replication/show_error_on_disconnect.test.lua | 38 ++++++ 8 files changed, 319 insertions(+), 84 deletions(-) create mode 100644 test/replication/show_error_on_disconnect.result create mode 100644 test/replication/show_error_on_disconnect.test.lua -- 2.14.3 (Apple Git-98)