[Tarantool-patches] [PATCH 0/3] box/info: report replication.X.downstream.lag
Cyrill Gorcunov
gorcunov at gmail.com
Thu Jan 21 20:17:49 MSK 2021
In the series we add reporting replication.X.downstream.lag value
to complement replication.X.upstream.lag.
Note that this value represent exact counter part of upstream.lag
since detailed statistics about qsync and synchronous acks has
a different meaning and gonna be implemented in #5191.
Please take a look once time permit. As far as I can tell we
can safely start encoding timestamp into vclock message without
affecting any old instances. I've grepped the 1.10.x series
for potential problems and didn't find any sign of.
issue https://github.com/tarantool/tarantool/issues/5447
branch gorcunov/gh-5447-relay-lag
Cyrill Gorcunov (3):
xrow: encode timestamp into vclock message
box/info: report replication.X.downstream.lag value
test: replication/status -- fetch downstream lag field
src/box/lua/info.c | 9 ++++++++-
src/box/relay.cc | 17 +++++++++++++++++
src/box/relay.h | 8 ++++++++
src/box/xrow.c | 1 +
test/replication/status.result | 8 ++++++++
test/replication/status.test.lua | 6 ++++++
6 files changed, 48 insertions(+), 1 deletion(-)
base-commit: fc86213cd7cda0641df95b1a81949bab85c19fce
--
2.29.2
More information about the Tarantool-patches
mailing list