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

Cyrill Gorcunov gorcunov at gmail.com
Wed Jan 27 17:38:26 MSK 2021


On Wed, Jan 27, 2021 at 05:04:27PM +0300, Serge Petrenko wrote:
> > diff --git a/src/box/relay.cc b/src/box/relay.cc
> > index 9265a26b3..a486db23a 100644
> > --- a/src/box/relay.cc
> > +++ b/src/box/relay.cc
> > @@ -571,7 +571,7 @@ relay_reader_f(va_list ap)
> >   			/*
> >   			 * Old versions may send not a timestamp but
> >   			 * zeroified memory field. We can use +0 as
> > -			 * as sign that there is nothing encoded.
> > +			 * as a sign that there is nothing encoded.
> 
> Now there's double "as". Look at the previous line. =)

Heh :) Thanks! Pushed an update.
---
[cyrill at grain tarantool.git] git diff
diff --git a/src/box/relay.cc b/src/box/relay.cc
index a486db23a..859069a7b 100644
--- a/src/box/relay.cc
+++ b/src/box/relay.cc
@@ -571,7 +571,7 @@ relay_reader_f(va_list ap)
                        /*
                         * Old versions may send not a timestamp but
                         * zeroified memory field. We can use +0 as
-                        * as a sign that there is nothing encoded.
+                        * a sign that there is nothing encoded.
                         */
                        if (xrow.tm != 0)
                                relay->lag = ev_now(loop()) - xrow.tm;



More information about the Tarantool-patches mailing list