Commit 888400eb authored by antirez's avatar antirez
Browse files

repl_offset field in INFO replication is now just offset.

parent 37c29e03
...@@ -2344,7 +2344,7 @@ sds genRedisInfoString(char *section) { ...@@ -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++;
......
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