mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
repl_offset field in INFO replication is now just offset.
This commit is contained in:
parent
37c29e037b
commit
888400ebd5
@ -2344,7 +2344,7 @@ sds genRedisInfoString(char *section) {
|
|||||||
|
|
||||||
info = sdscatprintf(info,
|
info = sdscatprintf(info,
|
||||||
"slave%d:ip=%s,port=%d,state=%s,"
|
"slave%d:ip=%s,port=%d,state=%s,"
|
||||||
"repl_offset=%lld,lag=%ld\r\n",
|
"offset=%lld,lag=%ld\r\n",
|
||||||
slaveid,ip,slave->slave_listening_port,state,
|
slaveid,ip,slave->slave_listening_port,state,
|
||||||
slave->repl_ack_off, lag);
|
slave->repl_ack_off, lag);
|
||||||
slaveid++;
|
slaveid++;
|
||||||
|
Loading…
Reference in New Issue
Block a user