Commit 75fcf5c9 authored by antirez's avatar antirez
Browse files

repl_offset field in INFO replication is now just offset.

parent c64338aa
...@@ -2271,7 +2271,7 @@ sds genRedisInfoString(char *section) { ...@@ -2271,7 +2271,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++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment