[Tarantool-patches] [PATCH v2 0/3] box/info: report replication.X.downstream.lag

Cyrill Gorcunov gorcunov at gmail.com
Mon Feb 1 13:00:34 MSK 2021


Vlad, Serge, take a look once time permit.

v2:
 - provide special helper xrow_encode_vclock_timed to send
   timestamp with applier ack message
 - document new entry
 - style fix in test

issue https://github.com/tarantool/tarantool/issues/5447
branch gorcunov/gh-5447-relay-lag-2

Cyrill Gorcunov (3):
  applier: encode timestamp into vclock message
  box/info: report replication.X.downstream.lag value
  test: replication/status -- fetch downstream lag field

 src/box/applier.cc               |  3 ++-
 src/box/lua/info.c               |  8 ++++++++
 src/box/relay.cc                 | 16 ++++++++++++++++
 src/box/relay.h                  |  8 ++++++++
 src/box/xrow.c                   |  5 ++++-
 src/box/xrow.h                   | 21 +++++++++++++++++++--
 test/replication/status.result   |  8 ++++++++
 test/replication/status.test.lua |  6 ++++++
 8 files changed, 71 insertions(+), 4 deletions(-)


base-commit: fbc04dfbda911195ec1a6a1e0e912e48eb6bb73c
-- 
2.29.2



More information about the Tarantool-patches mailing list