mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
repl_offset field in INFO replication is now just offset.
This commit is contained in:
@@ -2271,7 +2271,7 @@ sds genRedisInfoString(char *section) {
|
||||
|
||||
info = sdscatprintf(info,
|
||||
"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,
|
||||
slave->repl_ack_off, lag);
|
||||
slaveid++;
|
||||
|
||||
Reference in New Issue
Block a user